/* ==========================================================================
   08-fullscreen-sections :: layout.css
   Layout-only properties: display, position, width, height, flex, grid,
   gap, margin, padding, overflow. NO colors, fonts, shadows.
   ========================================================================== */

/* ---------- Skip Nav ---------- */
/* Defined in base.css — no override needed */

/* ---------- Container ---------- */
/* Defined in base.css with var(--container-max) — no override needed */

.container-narrow {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 2000;
  overflow: hidden;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
}

/* Header */
.site-header {
  position: fixed;
  top: 4px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 100%) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.7) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.primary-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 0.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  white-space: nowrap;
  font-size: 0.85rem;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a[aria-current="page"] {
  color: #ffffff;
  opacity: 0.85;
}

.site-header .logo-text {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.header-phone {
  flex-shrink: 0;
  margin-left: 1.5rem;
  white-space: nowrap;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.header-phone:hover,
.header-phone:focus {
  color: #ffffff;
  opacity: 0.85;
}

/* Dot Navigation */
.dot-nav {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.dot-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dot-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  cursor: pointer;
  background: none;
  border: none;
}

.dot {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.dot-nav-btn.active .dot {
  background: var(--color-primary, #fff);
  border-color: var(--color-primary, #fff);
  transform: scale(1.3);
}

.dot {
  display: block;
  width: 12px;
  height: 12px;
}

/* Fullscreen Container */
.fullscreen-container {
  overflow-y: auto;
  scroll-snap-type: y proximity;
  height: 100vh;
  height: 100dvh;
}

/* Fullscreen Sections */
.fs-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  scroll-snap-align: start;
  overflow: hidden;
}

.fs-section-scroll {
  display: block;
  height: auto;
  min-height: auto;
  overflow: visible;
  scroll-snap-align: none;
}

.fs-section-scroll .fs-content {
  max-height: none;
}

.fs-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.fs-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.fs-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
  margin: 0 auto;
  max-height: 80vh;
  overflow-y: auto;
}

.fs-section:not(.fs-section-scroll) .fs-content {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 2.5rem;
  color: var(--color-text, #222);
}

.fs-content-wide {
  max-width: 1100px;
}

.fs-content-scroll {
  max-height: none;
  padding: 6rem 2rem;
}

/* Fullscreen Grid Layouts */
.fs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.fs-grid-item {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
}
.fs-grid-item h3 {
  margin-bottom: 0.75rem;
  color: #ffffff;
}
.fs-grid-item p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: 0.9rem;
}

.fs-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.fs-testimonials {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.fs-team-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.fs-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.fs-gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.fs-amenities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.fs-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Steps */
.fs-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.fs-step {
  padding: 1.5rem;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
}

/* Insurance */
.fs-insurance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

/* FAQ */
.fs-faq {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Contact Grid */
.fs-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.fs-contact-item {
  padding: 1.5rem;
}

/* Form */
.contact-form {
  margin-top: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
}

/* Map */
.fs-map {
  width: 100%;
  height: 50vh;
  min-height: 300px;
  overflow: hidden;
  margin: 1rem 0;
}

.fs-map iframe {
  width: 100%;
  height: 100%;
}

.fs-directions {
  margin-top: 2rem;
}

/* Blog Grid */
.fs-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Modalities & Substances */
.fs-modalities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.fs-substances {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

/* Privacy / Standard Pages */
.page-hero-compact {
  padding: 6rem 0 3rem;
}

.privacy-content {
  padding: 3rem 0 5rem;
}

.privacy-content ul {
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.privacy-content li {
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
}

.footer-minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

/* Screen reader only */
/* .sr-only — defined in base.css */

/* Responsive */

/* ---------- Mobile Menu Toggle ---------- */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span,
.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1024px) {
  .fs-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fs-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mega-nav:not(.is-mobile-open), .main-nav:not(.is-open) { display: none; }
  .mega-nav.is-mobile-open, .main-nav.is-open { display: block; width: 100%; }
  .mobile-menu-toggle { display: flex; }
  .dot-nav {
    right: 0.75rem;
  }
  .primary-nav {
    display: none;
  }
  .fs-grid,
  .fs-features,
  .fs-steps {
    grid-template-columns: 1fr;
  }
  .fs-team-grid {
    grid-template-columns: 1fr;
  }
  .fs-gallery {
    grid-template-columns: 1fr;
  }
  .fs-amenities,
  .fs-insurance,
  .fs-modalities,
  .fs-substances {
    grid-template-columns: repeat(2, 1fr);
  }
  .fs-contact-grid {
    grid-template-columns: 1fr;
  }
  .fs-blog-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .fs-content {
    padding: 1.5rem;
  }
  .fs-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .fs-amenities,
  .fs-insurance,
  .fs-modalities,
  .fs-substances {
    grid-template-columns: 1fr;
  }
}
/* ---------- Heading Spacing ---------- */
.fs-content h3, .col-text h3, .content-section h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.fs-content p, .col-text p, .content-section p {
  margin-bottom: 1rem;
}

/* ---------- Blog Layout ---------- */
.blog-listing, .blog-list, .blog-card-grid, .fs-blog-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border, #e0e0e0);
  border-radius: 12px;
  overflow: hidden;
}
.blog-card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  flex-shrink: 0;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card-body { padding: 1.5rem; }
.blog-card-body h3 { font-size: 1.15rem; margin: 0.5rem 0 0.75rem; }
.blog-category {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- FAQ Accordion ---------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 2rem auto 0;
}
.faq-item {
  border: 1px solid var(--color-border, #e0e0e0);
  border-radius: 8px;
  overflow: hidden;
}
.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 1.5rem 1.25rem; line-height: 1.7; }

/* ---------- Footer Spacing ---------- */
.footer-nav h3, .footer-brand h3 { margin-bottom: 1rem; font-size: 1rem; }
.footer-brand p { margin-top: 0.75rem; line-height: 1.6; }

/* ---------- Contact word break ---------- */
.contact-card, .sidebar-widget {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ---------- No scroll animations ---------- */
.animate-in, [data-animate] {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}
