@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  /* Editorial Color Palette (Preset E - Light) */
  --editorial-bg: #FCF9F5;
  --editorial-paper: #FFFFFF;
  --editorial-ink: #1C2120;
  --editorial-ink-muted: #5C6260;
  --editorial-accent: #8E443D;
  --editorial-accent-light: #F5EAE6;
  --editorial-border: #D6C7BD;
  
  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Mulish', sans-serif;
  
  /* Spacing Scale (Preset: Normal - 10dvh) */
  --opti-gap-dense: 1.5rem;
  --opti-gap-spacious: 3rem;
  --opti-section-pad: 10dvh;
  
  /* Corners & Shadows (Preset: Soft & Raised) */
  --opti-radius: 16px;
  --opti-shadow: 0 10px 30px rgba(142, 68, 61, 0.06);
  --opti-shadow-hover: 0 15px 35px rgba(142, 68, 61, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--editorial-ink);
  background-color: var(--editorial-bg);
  line-height: 1.625;
}

body {
  overflow-x: hidden;
}

/* Typography styles */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--editorial-ink);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* Scroll Progress Bar */
.scroll-tracker-line {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background-color: var(--editorial-accent);
  width: 0%;
  z-index: 10000;
  animation: page-progress-grow linear;
  animation-timeline: scroll();
}

@keyframes page-progress-grow {
  to { width: 100%; }
}

/* Common Layout Wrapper */
.opti-canvas {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header Editorial Styling */
.opti-masthead {
  background-color: var(--editorial-paper);
  border-bottom: 1px solid var(--editorial-border);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 1.5rem 0;
}

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

.opti-brand-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.opti-brand-identity svg {
  fill: var(--editorial-accent);
  width: 32px;
  height: 32px;
}

.opti-brand-identity span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Navigation & Hamburger (Pure CSS) */
.opti-burger-checkbox {
  display: none;
}

.opti-burger-icon {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.opti-burger-icon span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--editorial-ink);
  transition: 0.3s;
}

.opti-nav-bar {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.opti-nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 4px;
}

.opti-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--editorial-accent);
  transition: width 0.3s;
}

.opti-nav-link:hover::after,
.opti-nav-link.is-active::after {
  width: 100%;
}

/* Editorial Button Trigger */
.vision-inline-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--editorial-accent);
  border-radius: var(--opti-radius);
  background-color: transparent;
  color: var(--editorial-accent);
  cursor: pointer;
  transition: all 0.4s ease;
}

.vision-inline-trigger:hover {
  background-color: var(--editorial-accent);
  color: var(--editorial-paper);
  box-shadow: var(--opti-shadow);
}

.vision-inline-trigger-solid {
  background-color: var(--editorial-accent);
  color: var(--editorial-paper);
}

.vision-inline-trigger-solid:hover {
  background-color: var(--editorial-ink);
  border-color: var(--editorial-ink);
}

/* SECTION STRUCTURE: Editorial Preset E */
.editorial-structure-wrap {
  padding: var(--opti-section-pad) 0;
  border-bottom: 1px solid var(--editorial-border);
}

/* Hero Preset E Specifics: Editorial Split */
.editorial-hero-grid {
  display: grid;
  grid-template-columns: 32% 68%;
  background-color: var(--editorial-paper);
  border-radius: var(--opti-radius);
  overflow: hidden;
  box-shadow: var(--opti-shadow);
}

.editorial-hero-left {
  background-color: var(--editorial-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border-right: 1px solid var(--editorial-border);
}

.editorial-vertical-manifesto {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--editorial-accent);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.editorial-hero-right {
  position: relative;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.editorial-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(28, 33, 32, 0.85) 0%, rgba(28, 33, 32, 0.4) 100%);
  z-index: 1;
}

.editorial-hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem;
  color: var(--editorial-paper);
  max-width: 650px;
}

.editorial-hero-content h1 {
  font-size: 3.2rem;
  color: var(--editorial-paper);
  margin-bottom: 1.5rem;
}

.editorial-hero-content p {
  font-size: 1.15rem;
  margin-bottom: 2.2rem;
  opacity: 0.9;
}

.editorial-hero-content .vision-inline-trigger {
  border-color: var(--editorial-paper);
  color: var(--editorial-paper);
}

.editorial-hero-content .vision-inline-trigger:hover {
  background-color: var(--editorial-paper);
  color: var(--editorial-ink);
}

/* Pull-Quote Block (Preset E Content) */
.editorial-pull-quote-wrapper {
  background-color: var(--editorial-paper);
  border-left: 6px solid var(--editorial-accent);
  padding: 4rem 3rem;
  margin-bottom: var(--opti-gap-spacious);
  border-radius: 4px var(--opti-radius) var(--opti-radius) 4px;
  box-shadow: var(--opti-shadow);
}

.editorial-quote-text {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--editorial-accent);
  position: relative;
}

.editorial-quote-text::before {
  content: '“';
  font-size: 6rem;
  position: absolute;
  top: -3.5rem;
  left: -1.5rem;
  opacity: 0.15;
  font-family: var(--font-display);
}

.editorial-author-tag {
  margin-top: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  color: var(--editorial-ink-muted);
}

/* Image + Text Split Segment */
.editorial-split-block {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: var(--opti-gap-spacious);
  align-items: center;
}

.editorial-split-image {
  border-radius: var(--opti-radius);
  overflow: hidden;
  height: 480px;
  box-shadow: var(--opti-shadow);
}

.editorial-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.editorial-split-image:hover img {
  transform: scale(1.03);
}

.editorial-split-text {
  padding-left: 1rem;
}

.editorial-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--editorial-accent);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  display: block;
}

.editorial-split-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.editorial-split-text p {
  font-size: 1.05rem;
  color: var(--editorial-ink-muted);
  margin-bottom: 1.5rem;
}

/* Features Grid (Preset E - Magazine style) */
.magazine-grid-layout {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: var(--opti-gap-spacious);
}

.magazine-grid-lead {
  position: relative;
  border-radius: var(--opti-radius);
  overflow: hidden;
  height: 520px;
  box-shadow: var(--opti-shadow);
}

.magazine-grid-lead-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.magazine-grid-lead-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(28, 33, 32, 0.9) 0%, rgba(28, 33, 32, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  color: var(--editorial-paper);
}

.magazine-grid-lead-overlay h3 {
  color: var(--editorial-paper);
  font-size: 1.85rem;
  margin-bottom: 1rem;
}

.magazine-grid-lead-overlay p {
  opacity: 0.9;
  font-size: 1rem;
}

.magazine-grid-stack {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--opti-gap-dense);
}

.magazine-grid-item {
  background-color: var(--editorial-paper);
  padding: 2.2rem;
  border-radius: var(--opti-radius);
  border-top: 4px solid var(--editorial-accent);
  box-shadow: var(--opti-shadow);
  transition: all 0.3s ease;
}

.magazine-grid-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--opti-shadow-hover);
}

.magazine-grid-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--editorial-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.magazine-grid-item-icon svg {
  fill: var(--editorial-accent);
  width: 24px;
  height: 24px;
}

.magazine-grid-item h4 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.magazine-grid-item p {
  font-size: 0.95rem;
  color: var(--editorial-ink-muted);
}

/* How It Works Track (Preset E - Horizontal Minimalist) */
.stepper-editorial-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--opti-gap-dense);
  margin-top: 3rem;
}

.stepper-editorial-node {
  background-color: var(--editorial-paper);
  padding: 2.5rem;
  border-radius: var(--opti-radius);
  position: relative;
  box-shadow: var(--opti-shadow);
}

.stepper-editorial-node:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -0.75rem;
  width: 1px;
  height: 60px;
  background-color: var(--editorial-border);
  transform: translateY(-50%);
}

.stepper-editorial-num {
  font-family: var(--font-display);
  font-size: 5.5rem;
  line-height: 1;
  color: var(--editorial-accent);
  opacity: 0.08;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-weight: 700;
}

.stepper-editorial-node h4 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.stepper-editorial-node p {
  font-size: 0.95rem;
  color: var(--editorial-ink-muted);
  position: relative;
  z-index: 2;
}

/* CTA Strip (Preset E - Centered Editorial Card) */
.magazine-cta-panel {
  max-width: 850px;
  margin: 0 auto;
  background-color: var(--editorial-paper);
  border: 1px solid var(--editorial-border);
  border-radius: var(--opti-radius);
  box-shadow: var(--opti-shadow);
  padding: 4rem;
  text-align: center;
}

.magazine-cta-panel h2 {
  font-size: 2.8rem;
  margin-bottom: 1.25rem;
}

.magazine-cta-panel p {
  font-size: 1.1rem;
  color: var(--editorial-ink-muted);
  margin-bottom: 2.2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* EXPERT PAGE SPECIFICS */
.expert-statistics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--opti-gap-dense);
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}

.expert-stat-card {
  background-color: var(--editorial-paper);
  border-radius: var(--opti-radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--opti-shadow);
  text-align: center;
  border-bottom: 4px solid var(--editorial-accent);
}

.expert-stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--editorial-accent);
  margin-bottom: 0.5rem;
  display: block;
}

.expert-stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--editorial-ink-muted);
}

/* RESERVE PAGE SPECIFICS */
.reserve-card-lineup {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--opti-gap-dense);
  margin-bottom: var(--opti-gap-spacious);
}

.reserve-info-card {
  background-color: var(--editorial-paper);
  padding: 2.2rem;
  border-radius: var(--opti-radius);
  border-top: 3px solid var(--editorial-accent);
  box-shadow: var(--opti-shadow);
}

.reserve-info-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.reserve-info-card-header svg {
  fill: var(--editorial-accent);
  width: 28px;
  height: 28px;
}

.reserve-info-card-header h3 {
  font-size: 1.2rem;
}

.reserve-info-list {
  list-style: none;
}

.reserve-info-list li {
  font-size: 0.95rem;
  color: var(--editorial-ink-muted);
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.reserve-info-list li::before {
  content: '•';
  color: var(--editorial-accent);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Booking Form (Centered max-width 700px) */
.editorial-form-wrap {
  background-color: var(--editorial-paper);
  border: 1px solid var(--editorial-border);
  padding: 4rem;
  border-radius: var(--opti-radius);
  max-width: 700px;
  margin: 0 auto;
  box-shadow: var(--opti-shadow);
}

.editorial-form-wrap h2 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.editorial-form-subtitle {
  text-align: center;
  color: var(--editorial-ink-muted);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.editorial-field-group {
  margin-bottom: 1.75rem;
}

.editorial-field-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.editorial-form-input,
.editorial-form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--editorial-ink);
  background-color: var(--editorial-bg);
  border: 1px solid var(--editorial-border);
  border-radius: var(--opti-radius);
  transition: all 0.3s;
}

.editorial-form-input:focus,
.editorial-form-textarea:focus {
  outline: none;
  border-color: var(--editorial-accent);
  background-color: var(--editorial-paper);
  box-shadow: 0 0 0 3px rgba(142, 68, 61, 0.1);
}

.editorial-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.editorial-checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--editorial-accent);
  margin-top: 0.2rem;
  cursor: pointer;
}

.editorial-checkbox-group label {
  font-size: 0.85rem;
  color: var(--editorial-ink-muted);
  cursor: pointer;
}

.editorial-checkbox-group a {
  color: var(--editorial-accent);
  text-decoration: underline;
}

/* FAQ Block */
.editorial-faq-segment {
  max-width: 800px;
  margin: 4rem auto 0 auto;
}

.editorial-faq-segment h3 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-editorial-item {
  background-color: var(--editorial-paper);
  border-radius: var(--opti-radius);
  padding: 2rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--opti-shadow);
}

.faq-editorial-item h4 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--editorial-accent);
}

.faq-editorial-item p {
  font-size: 0.95rem;
  color: var(--editorial-ink-muted);
}

/* Editorial Footer */
.opti-footer-wrap {
  background-color: var(--editorial-paper);
  border-top: 1px solid var(--editorial-border);
  padding: var(--opti-gap-spacious) 0;
}

.opti-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--opti-gap-dense);
  margin-bottom: 3rem;
}

.opti-footer-left {
  max-width: 400px;
}

.opti-footer-left p {
  font-size: 0.95rem;
  color: var(--editorial-ink-muted);
  margin-top: 1rem;
}

.opti-footer-nav h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

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

.opti-footer-links li {
  margin-bottom: 0.75rem;
}

.opti-footer-links a {
  font-size: 0.95rem;
  color: var(--editorial-ink-muted);
}

.opti-footer-links a:hover {
  color: var(--editorial-accent);
  padding-left: 4px;
}

.opti-footer-disclaimer {
  font-size: 0.8rem;
  color: var(--editorial-ink-muted);
  padding: 1.5rem 0;
  border-top: 1px solid var(--editorial-border);
  border-bottom: 1px solid var(--editorial-border);
  margin-bottom: 1.5rem;
}

.opti-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--editorial-ink-muted);
}

/* Cookie Policy banner */
.opti-cookie-strip {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--editorial-paper);
  border-top: 2px solid var(--editorial-accent);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.opti-cookie-strip.is-visible {
  transform: translateY(0);
}

.opti-cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.opti-cookie-text p {
  font-size: 0.95rem;
  color: var(--editorial-ink);
}

.opti-cookie-text a {
  color: var(--editorial-accent);
  text-decoration: underline;
}

.opti-cookie-actions {
  display: flex;
  gap: 1rem;
}

.opti-cookie-btn {
  padding: 0.65rem 1.5rem;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--opti-radius);
  border: 1px solid var(--editorial-accent);
  cursor: pointer;
  transition: all 0.3s;
}

.opti-cookie-accept {
  background-color: var(--editorial-accent);
  color: var(--editorial-paper);
}

.opti-cookie-accept:hover {
  background-color: var(--editorial-ink);
  border-color: var(--editorial-ink);
}

.opti-cookie-decline {
  background-color: transparent;
  color: var(--editorial-accent);
}

.opti-cookie-decline:hover {
  background-color: var(--editorial-accent-light);
}

/* Scroll Animation - View driven */
.reveal-on-scroll {
  animation: fade-slide-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-timeline: view();
  animation-range: entry 5% entry 35%;
}

@keyframes fade-slide-up {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE DESIGN (Media Queries) */
@media (max-width: 1024px) {
  .editorial-hero-grid {
    grid-template-columns: 1fr;
  }
  
  .editorial-hero-left {
    display: none; /* Hide vertical slogan on tablet/mobile */
  }
  
  .editorial-hero-right {
    min-height: 450px;
  }
  
  .magazine-grid-layout {
    grid-template-columns: 1fr;
  }
  
  .stepper-editorial-row {
    grid-template-columns: 1fr;
  }
  
  .stepper-editorial-node:not(:last-child)::after {
    display: none;
  }
  
  .expert-statistics-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .reserve-card-lineup {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .opti-burger-icon {
    display: flex;
  }
  
  .opti-nav-bar {
    position: fixed;
    top: 73px;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 73px);
    background-color: var(--editorial-paper);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 1.5rem;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.05);
    border-left: 1px solid var(--editorial-border);
    transition: right 0.4s ease;
  }
  
  .opti-burger-checkbox:checked ~ .opti-nav-bar {
    right: 0;
  }
  
  .opti-burger-checkbox:checked ~ .opti-burger-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .opti-burger-checkbox:checked ~ .opti-burger-icon span:nth-child(2) {
    opacity: 0;
  }
  
  .opti-burger-checkbox:checked ~ .opti-burger-icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .editorial-split-block {
    grid-template-columns: 1fr;
  }
  
  .editorial-split-image {
    height: 320px;
  }
  
  .editorial-hero-content h1 {
    font-size: 2.2rem;
  }
  
  .editorial-pull-quote-wrapper {
    padding: 2.5rem 1.5rem;
  }
  
  .editorial-quote-text {
    font-size: 1.5rem;
  }
  
  .editorial-form-wrap {
    padding: 2.5rem 1.5rem;
  }
  
  .opti-cookie-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1rem;
  }
  
  .opti-cookie-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .opti-canvas {
    padding: 0 1rem;
  }
  
  .expert-statistics-bar {
    grid-template-columns: 1fr;
  }
  
  .magazine-cta-panel {
    padding: 2.5rem 1.5rem;
  }
}