/* ActiveNour - Tactile Editorial Platform
   Vibrant Natural Palette:
   - Base Linen: #F7F5F0 / #EFECE6
   - Deep Graphite: #22252A / #2C2F33
   - Vibrant Terracotta / Coral: #C84B31
   - Fresh Botanical Green / Emerald: #0D7A5F / #10B981
   - Warm Amber / Honey: #D97706 / #F59E0B
   - Warm Pure White: #FFFFFF
*/
:root {
  --bg-linen: #F6F4EF;
  --bg-linen-light: #FDFCF9;
  --bg-card: #FFFFFF;
  --bg-graphite: #1E2227;
  --bg-graphite-dark: #15181C;
  --text-graphite: #22252A;
  --text-body: #42464D;
  --text-muted: #646A74;
  --text-linen: #F6F4EF;
  --accent-terracotta: #C84B31;
  --accent-terracotta-hover: #AB3A22;
  --accent-green: #0D7A5F;
  --accent-emerald: #10B981;
  --accent-amber: #D97706;
  --border-linen: #E2DDD3;
  --border-graphite: #383E47;
  --shadow-tactile: 0 10px 25px -5px rgba(34, 37, 42, 0.08), 0 4px 10px rgba(34, 37, 42, 0.04);
  --shadow-elevated: 0 20px 40px -10px rgba(34, 37, 42, 0.16);
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-graphite);
  background-color: var(--bg-linen);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-linen);
  padding-bottom: 90px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-graphite);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -0.015em;
  margin-bottom: 1.15rem;
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.28rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-body);
  font-size: 1.05rem;
  margin-bottom: 1.15rem;
}

a {
  color: var(--accent-terracotta);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-terracotta-hover);
}

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

.site-container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Top Subtle Editorial Header */
.site-top-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-linen);
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 2px 10px rgba(34, 37, 42, 0.04);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-editorial-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon {
  width: 38px;
  height: 38px;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-graphite);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-green);
  font-weight: 700;
}

.top-quick-contacts {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.88rem;
}

.top-geo-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #FEF2F2;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid #FECACA;
  color: var(--accent-terracotta);
  font-weight: 700;
}

.top-geo-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-terracotta);
  border-radius: 50%;
}

/* Timeline Slideshow Viewport */
.timeline-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.timeline-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  align-items: flex-start;
}

.timeline-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 2.5rem 0 3.5rem;
  opacity: 0.2;
  transform: scale(0.98);
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.timeline-slide.slide-active {
  opacity: 1;
  transform: scale(1);
}

/* Slide Specific Styles */
.slide-evening {
  background: var(--bg-graphite);
  color: var(--text-linen);
  border-radius: var(--radius-lg);
  margin-top: 1rem;
  margin-bottom: 2rem;
  padding: 3.5rem 0;
  box-shadow: var(--shadow-elevated);
}

.slide-evening h1,
.slide-evening h2,
.slide-evening h3 {
  color: var(--text-linen);
}

.slide-evening p {
  color: #C2C7D0;
}

/* Two-column layout with equalized height */
.editorial-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.time-stamp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #FFFFFF;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-linen);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--accent-terracotta);
  margin-bottom: 1.15rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.time-stamp-badge.dark {
  background: #2D333B;
  border-color: #434B56;
  color: #FEF3C7;
}

.lead-editorial-p {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--text-graphite);
  margin-bottom: 1.5rem;
}

.slide-evening .lead-editorial-p {
  color: #E2E8F0;
}

/* Tactile Buttons */
.btn-terracotta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: var(--accent-terracotta);
  color: #FFFFFF;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(200, 75, 49, 0.3);
}

.btn-terracotta:hover {
  background: var(--accent-terracotta-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(200, 75, 49, 0.4);
}

.btn-green-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #FFFFFF;
  color: var(--accent-green);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--accent-green);
  transition: all 0.2s ease;
}

.btn-green-outline:hover {
  background: var(--accent-green);
  color: #FFFFFF;
}

/* Cards & Media Visuals */
.tactile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-linen);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-tactile);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.photo-card-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-tactile);
  border: 1px solid var(--border-linen);
  background: #FFFFFF;
}

.photo-card-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.photo-caption-bar {
  padding: 1.15rem 1.4rem;
  background: #FFFFFF;
  border-top: 1px solid var(--border-linen);
}

.photo-tag {
  display: inline-block;
  background: #ECFDF5;
  color: var(--accent-green);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}

/* Interactive Checklist Widget for Tab 1 */
.interactive-check-box {
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.check-item-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed #86EFAC;
  font-size: 0.98rem;
  color: #166534;
  font-weight: 600;
}

.check-item-row:last-child {
  border-bottom: none;
}

.check-icon-circle {
  width: 24px;
  height: 24px;
  background: var(--accent-green);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Tab 2: Dynamic Load vs Movement Table */
.dynamics-grid-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.dynamics-card-item {
  background: #FFFFFF;
  border: 1px solid var(--border-linen);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.dynamics-card-item.pressure {
  border-left: 4px solid var(--accent-terracotta);
  background: #FFF5F5;
}

.dynamics-card-item.flow {
  border-left: 4px solid var(--accent-green);
  background: #F0FDF4;
}

/* Tab 3: Interactive Resource Map */
.resource-map-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: stretch;
  margin-top: 2rem;
}

.hotspot-buttons-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hotspot-card-btn {
  background: #272C33;
  border: 1.5px solid #3E4652;
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.4rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hotspot-card-btn.active-hotspot,
.hotspot-card-btn:hover {
  background: #343B45;
  border-color: var(--accent-terracotta);
  transform: translateX(6px);
}

.hotspot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.hotspot-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
}

.hotspot-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-terracotta);
}

.hotspot-desc {
  font-size: 0.92rem;
  color: #CBD5E1;
  line-height: 1.5;
  margin-bottom: 0;
}

.hotspot-detail-box {
  background: #181B1F;
  border: 1.5px solid #383E47;
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hotspot-quote-badge {
  font-family: var(--font-serif);
  font-style: italic;
  color: #FBBF24;
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
  line-height: 1.45;
}

.hotspot-explanation {
  font-size: 1rem;
  color: #E2E8F0;
  line-height: 1.65;
}

/* ===================================================
   OFFER SECTION ON SLIDE 4: PROSTATIN+ (1.490 RSD)
   =================================================== */
.craft-product-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  background: #FFFFFF;
  border: 1px solid var(--border-linen);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-tactile);
  align-items: start;
  margin-top: 2rem;
}

.craft-bottle-card {
  text-align: center;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 2.25rem 1.5rem;
}

.craft-bottle-card img {
  max-width: 320px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.craft-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FEF2F2;
  border: 1.5px solid #FCA5A5;
  padding: 1.25rem 1.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.craft-price-figure {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-terracotta);
  line-height: 1;
}

/* Quality Standards Badges */
.standards-badges-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.standard-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: #166534;
}

/* Lead Order Form */
.craft-order-box {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 1.85rem;
}

.craft-field-group {
  margin-bottom: 1.15rem;
}

.craft-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-graphite);
  margin-bottom: 0.45rem;
}

.craft-input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--text-graphite);
  transition: all 0.2s ease;
}

.craft-input:focus {
  outline: none;
  border-color: var(--accent-terracotta);
  box-shadow: 0 0 0 3px rgba(200, 75, 49, 0.15);
}

.craft-input.has-error {
  border-color: #DC2626;
  background: #FEF2F2;
}

.craft-error-text {
  color: #DC2626;
  font-size: 0.82rem;
  margin-top: 0.35rem;
  font-weight: 600;
  display: none;
}

.craft-error-text.visible {
  display: block;
}

/* Satellite Map Feature Section */
.satellite-feature-section {
  background: var(--bg-graphite);
  color: var(--text-linen);
  padding: 3.5rem 0;
  margin: 3.5rem 0 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
}

.satellite-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.satellite-card-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border-graphite);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

/* Bottom-docked Timeline Navigation */
.bottom-timeline-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-linen);
  box-shadow: 0 -8px 25px rgba(34, 37, 42, 0.08);
  z-index: 900;
  padding: 0.65rem 0;
}

.dock-flex-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dock-controls-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dock-slide-arrow {
  background: #FFFFFF;
  border: 1px solid var(--border-linen);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-graphite);
  font-weight: 800;
  transition: all 0.2s ease;
}

.dock-slide-arrow:hover {
  background: var(--accent-terracotta);
  color: #FFFFFF;
  border-color: var(--accent-terracotta);
}

.dock-tabs-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.dock-tabs-group::-webkit-scrollbar {
  display: none;
}

.dock-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: var(--text-graphite);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.dock-tab-btn:hover {
  background: #E2E8F0;
}

.dock-tab-btn.tab-active {
  background: var(--accent-terracotta);
  color: #FFFFFF;
  border-color: var(--accent-terracotta);
  box-shadow: 0 4px 12px rgba(200, 75, 49, 0.3);
}

.dock-tab-badge {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  opacity: 0.85;
}

.dock-tab-btn.special-offer {
  border: 1.5px solid var(--accent-terracotta);
  color: var(--accent-terracotta);
  background: #FEF2F2;
}

.dock-tab-btn.special-offer.tab-active {
  background: var(--accent-terracotta);
  color: #FFFFFF;
}

/* Modal Pop-up */
.modal-thankyou-pop {
  position: fixed;
  inset: 0;
  background: rgba(30, 34, 39, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-thankyou-pop.modal-show {
  display: flex;
}

.modal-dialog-content {
  background: #FFFFFF;
  border: 2px solid var(--accent-terracotta);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  padding: 2.75rem 2.25rem;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  animation: modalBounceIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalBounceIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close-x {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-check-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #FEF2F2;
  border: 2px solid var(--accent-terracotta);
  color: var(--accent-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
}

.modal-order-tag {
  display: inline-block;
  background: #F1F5F9;
  border: 1px dashed var(--accent-terracotta);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent-terracotta);
  margin: 0.75rem 0 1.25rem;
}

/* Site Footer */
.site-footer-editorial {
  background: var(--bg-graphite);
  color: #9CA3AF;
  padding: 4rem 0 3rem;
  border-top: 1px solid #374151;
  font-size: 0.92rem;
}

.footer-editorial-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col-title {
  font-family: var(--font-serif);
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.footer-editorial-links {
  list-style: none;
}

.footer-editorial-links li {
  margin-bottom: 0.6rem;
}

.footer-editorial-links a {
  color: #CBD5E1;
}

.footer-editorial-links a:hover {
  color: #FFFFFF;
}

.footer-location-card {
  background: #272C33;
  border-left: 3px solid var(--accent-terracotta);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
  color: #E2E8F0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-location-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--accent-emerald);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.footer-disclaimer-editorial {
  background: #181B1F;
  border: 1px solid #374151;
  padding: 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  line-height: 1.6;
  color: #94A3B8;
  margin-bottom: 2rem;
}

.footer-sub-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid #374151;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Cookie Notice */
.cookie-consent-bar {
  position: fixed;
  bottom: 85px;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 820px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  z-index: 850;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-consent-bar.cookie-closed {
  display: none;
}

/* Responsive */
@media (max-width: 980px) {
  .editorial-two-col,
  .resource-map-wrap,
  .craft-product-layout,
  .satellite-feature-grid,
  .dynamics-grid-box {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

@media (max-width: 640px) {
  body {
    padding-bottom: 120px;
  }

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

  .dock-flex-container {
    flex-direction: column;
    align-items: stretch;
  }

  .dock-tabs-group {
    justify-content: space-between;
  }

  .cookie-consent-bar {
    bottom: 110px;
    flex-direction: column;
    text-align: center;
  }
}
