/* Oira Website CSS Styling */
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:wght@350;400;500;600;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;

  /* Color Palette */
  --bg-primary: #fbf9f6;
  --bg-secondary: #f3efe6;
  --bg-tertiary: #ede8de;
  --text-primary: #120c08;
  --text-secondary: #605852;
  --text-tertiary: #9c948c;
  --text-white: #ffffff;
  --white-alpha-10: rgba(255, 255, 255, 0.1);
  --white-alpha-20: rgba(255, 255, 255, 0.2);
  --white-alpha-30: rgba(255, 255, 255, 0.3);
  --white-alpha-80: rgba(255, 255, 255, 0.80);
  --black-alpha-10: rgba(18, 12, 8, 0.1);
  --black-alpha-20: rgba(18, 12, 8, 0.2);
  --button-hover-bg: #2b2520;
  
  --spacing-unit: 0.4rem;
  --transition-smooth: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: all 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  font-size: 62.5%; /* 10px = 1rem */
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-size: 1.6rem;
  line-height: 1.5;
  overflow-x: hidden;
  background-color: var(--bg-primary);
}

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

img, video {
  max-width: 100%;
  height: auto;
  display: block;
  user-select: none;
}

button, input {
  font: inherit;
  background: none;
  border: none;
  outline: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-tertiary);
}

/* Typography styles */
.text-heading-xl {
  font-family: var(--font-heading);
  font-size: 4.8rem;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.text-heading-lg {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.text-heading-sm {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  line-height: 1.25;
  font-weight: 400;
}

.text-body-md {
  font-family: var(--font-body);
  font-size: 1.8rem;
  line-height: 1.6;
}

.text-body-sm {
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1.6;
}

.text-label-sm {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.italic {
  font-style: italic;
  font-family: var(--font-heading);
}

/* Navigation Bar */
nav.navbar {
  position: fixed;
  left: 50%;
  top: 2.4rem;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem;
  border-radius: 1.8rem;
  background: rgba(237, 232, 222, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4.2rem;
  padding: 0 1.8rem;
  font-weight: 500;
  font-size: 1.4rem;
  border-radius: 1.2rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.5);
}

.nav-item.logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.03em;
  padding: 0 1.6rem;
}

.nav-item.logo img {
  height: 4.4rem;
  width: auto;
}

.nav-item.login {
  background: rgba(18, 12, 8, 0.95);
  color: var(--bg-primary);
}

.nav-item.login:hover {
  background: var(--text-primary);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 60rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18, 12, 8, 0.35); /* darkened overlay for typography legibility */
  z-index: 2;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--text-white);
  text-align: center;
  max-width: 80rem;
  padding: 0 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 2.4rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero-content p {
  opacity: 0.9;
  margin-bottom: 1.6rem;
}

/* Activity Ticker in Hero */
.ticker-container {
  height: 3rem;
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-bottom: 4rem;
}

.ticker-item {
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 1.4rem;
  opacity: 0.8;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.ticker-bullet {
  width: 6px;
  height: 6px;
  background-color: var(--text-white);
  border-radius: 50%;
}

/* Glassmorphic Form Container */
.cta-form {
  position: absolute;
  bottom: 6rem;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem;
  width: 100%;
  max-width: 44rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1.6rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: var(--transition-smooth);
}

.cta-form:focus-within {
  max-width: 52rem;
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-form input[type="email"] {
  flex: 1;
  padding: 1rem 1.6rem;
  font-size: 1.6rem;
  color: var(--text-white);
  background: transparent;
}

.cta-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.cta-form button[type="submit"] {
  cursor: pointer;
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 1.2rem 2.2rem;
  border-radius: 1.2rem;
  font-weight: 600;
  font-size: 1.4rem;
  transition: var(--transition-smooth);
}

.cta-form button[type="submit"]:hover {
  background: var(--bg-tertiary);
  transform: scale(1.02);
}

.cta-form button[type="submit"]:active {
  transform: scale(0.98);
}

/* Sections General */
section.py-section {
  padding: 12rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.container-lg {
  width: 100%;
  max-width: 120rem;
  padding: 0 4rem;
}

/* Info Banner Title */
.info-banner {
  text-align: center;
  margin-bottom: 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-banner h2 {
  max-width: 60rem;
  margin-top: 1.6rem;
}

.logo-flower {
  width: 6.4rem;
  height: 6.4rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

.logo-flower img {
  width: 100%;
  height: auto;
}

/* presentation Stage Section (Lassie Carousel replacement) */
.presentation-stages {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.presentation-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .presentation-stage {
    grid-template-columns: 1fr 1.2fr;
    gap: 8rem;
  }
  
  .presentation-stage.reverse {
    grid-template-columns: 1.2fr 1fr;
  }
  
  .presentation-stage.reverse .presentation-text {
    order: 2;
  }
}

.presentation-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.presentation-text h3 {
  margin-bottom: 1.8rem;
  color: var(--text-primary);
}

.presentation-text p {
  color: var(--text-secondary);
  font-size: 1.6rem;
  line-height: 1.7;
}

.presentation-graphic {
  background-color: var(--bg-secondary);
  border-radius: 4rem;
  padding: 2rem;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(18, 12, 8, 0.02), 0 10px 40px rgba(18, 12, 8, 0.03);
  transition: var(--transition-slow);
}

.presentation-stage:hover .presentation-graphic {
  transform: translateY(-4px);
  box-shadow: inset 0 2px 8px rgba(18, 12, 8, 0.02), 0 20px 60px rgba(18, 12, 8, 0.06);
}

.presentation-graphic img {
  border-radius: 2.8rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Stat Panel (Infographic Section) */
.infographic {
  background-color: var(--bg-secondary);
  border-radius: 6.4rem;
  padding: 13rem 6rem;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 12rem;
  line-height: 1;
  font-weight: 350;
  margin-bottom: 2rem;
}

.stat-desc {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  max-width: 60rem;
  line-height: 1.2;
}

.stat-desc-alt {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  max-width: 60rem;
  line-height: 1.2;
  margin-top: 1.6rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Floating scatter elements inside stats */
.scatter-container {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .scatter-container {
    display: block;
  }
}

.scatter-item {
  position: absolute;
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: var(--transition-slow);
}

.scatter-item img {
  display: block;
}

/* Specific position coordinates for floating cards in infographic */
.s-top-left {
  top: 7%;
  left: 2.5%;
  width: 16rem;
}

.s-top-left-svg {
  top: 45%;
  left: 3.5%;
  width: 21rem;
  box-shadow: none;
}

.s-top-right {
  top: 10%;
  right: 2.5%;
  width: 16rem;
}

.s-bottom-left {
  bottom: 8%;
  left: 5%;
  width: 21rem;
  box-shadow: none;
}

.s-bottom-right {
  bottom: 11%;
  right: 6%;
  width: 14rem;
}

.s-bottom-right-svg {
  bottom: 40%;
  right: 3%;
  width: 21rem;
  box-shadow: none;
}

/* Testimonial slider Section */
.testimonials-section {
  background-color: var(--bg-primary);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  width: 100%;
  margin-top: 4rem;
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    display: grid;
    gap: 2.4rem;
  }
}

.testimonial-card {
  background-color: var(--bg-tertiary);
  border-radius: 2.4rem;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(18, 12, 8, 0.04);
}

.testimonial-card figure {
  width: 100%;
  border-radius: 1.6rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.testimonial-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card blockquote {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.4;
  color: var(--text-primary);
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 1.5rem;
}

.testimonial-clinic {
  padding: 0.4rem 1rem;
  background-color: rgba(18, 12, 8, 0.05);
  color: var(--text-secondary);
  border-radius: 0.6rem;
  font-family: var(--font-body);
  font-size: 1.3rem;
}

/* Static Features Section */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  width: 100%;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.4rem;
  }
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-card img {
  border-radius: 2.4rem;
  background-color: var(--bg-secondary);
  padding: 1rem;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.feature-card h3 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 1.5rem;
  line-height: 1.6;
}

/* FAQ Accordion Section */
.faq-container {
  width: 100%;
  max-width: 72rem;
  margin: 4rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.faq-item {
  background-color: var(--bg-secondary);
  border-radius: 1.6rem;
  overflow: hidden;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
}

.faq-item:hover {
  background-color: var(--bg-tertiary);
}

.faq-header {
  padding: 2.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  font-weight: 500;
  font-size: 1.8rem;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 2.4rem;
}

.faq-item.active .faq-panel {
  max-height: 20rem; /* arbitrarily tall enough for the text content */
  padding-bottom: 2.4rem;
}

.faq-panel p {
  color: var(--text-secondary);
  font-size: 1.5rem;
  line-height: 1.6;
}

/* CTA Poppy Section */
.cta-banner {
  width: 100%;
  padding: 1.6rem;
}

.cta-banner-card {
  position: relative;
  border-radius: 4.8rem;
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 16/9;
  min-height: 40rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cta-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18, 12, 8, 0.4);
  z-index: 2;
}

.cta-banner-content {
  position: relative;
  z-index: 3;
  color: var(--text-white);
  text-align: center;
  padding: 0 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
}

.cta-banner-content h2 {
  text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

/* Footer Section */
footer.footer-section {
  background-color: var(--bg-tertiary);
  border-radius: 4.8rem 4.8rem 0 0;
  padding: 8rem 0 4rem;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 4rem;
  }
}

.footer-brand h2 {
  margin-bottom: 2.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-brand .footer-logo-img {
  height: 7.42rem;
  width: auto;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-bottom: 2.4rem;
}

.footer-brand .btn-started {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--text-primary);
  color: var(--bg-primary);
  font-weight: 500;
  font-size: 1.4rem;
  height: 4.2rem;
  padding: 0 2rem;
  border-radius: 1.2rem;
  transition: var(--transition-smooth);
}

.footer-brand .btn-started:hover {
  background-color: var(--button-hover-bg);
  transform: translateY(-1px);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-col ul a {
  font-size: 1.5rem;
  color: var(--text-primary);
}

.footer-col ul a:hover {
  color: var(--text-secondary);
  padding-left: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(18, 12, 8, 0.06);
  margin-top: 8rem;
  padding-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  color: var(--text-secondary);
  font-size: 1.4rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Intersection Observer Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Shared subpage layout (blog + legal) ===== */
:root {
  --accent-orange: #c96f2e;
}

.page-hero {
  background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
  padding: 10rem 0 3rem;
}

.page-kicker {
  color: var(--accent-orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.page-updated {
  color: var(--text-tertiary);
  margin-top: 1rem;
}

.prose {
  max-width: 72ch;
  padding: 3rem 0 7rem;
  display: grid;
  gap: 2.2rem;
}

.prose h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  border-left: 4px solid var(--accent-orange);
  padding-left: 0.9rem;
}

.prose p,
.prose li {
  color: var(--text-secondary);
  line-height: 1.75;
}

.prose ul {
  padding-left: 1.4rem;
  display: grid;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.prose li::marker {
  color: var(--accent-orange);
}

.prose a {
  color: var(--accent-orange);
  text-decoration: underline;
}

.page-back {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--accent-orange);
  font-weight: 600;
  text-decoration: none;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(18, 12, 8, 0.08);
  padding-top: 2rem;
}

.article-nav a {
  color: var(--accent-orange);
  font-weight: 600;
  text-decoration: none;
}