/* --- CUSTOM THEMING (COLORFUL THEME) --- */
:root {
  --sight-bg: #fffbf4; /* Soft warm cream */
  --sight-bg-secondary: #f4ecdc; /* Slightly darker warm cream for section dividers and cards */
  --sight-dark-text: #1d212a; /* Rich very dark slate */
  --sight-dark-text-muted: #535d6e; /* Soft slate grey */
  --sight-accent: #e0532b; /* Vibrant carrot orange/coral */
  --sight-accent-hover: #c4411a;
  --sight-accent-soft: #fbf0e8; /* Warm peach-tinted light background */
  --sight-accent-gradient: linear-gradient(135deg, #e0532b 0%, #ff8c42 100%);
  --sight-green-element: #2c6e49; /* Leafy green accent for contrast */
  
  /* Fonts */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  
  /* Layout and Styling Preferences */
  --sight-radius: 16px; /* Soft (12-20px) */
  --sight-transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --sight-shadow: 0 10px 30px -5px rgba(224, 83, 43, 0.12), 0 20px 40px -10px rgba(29, 33, 42, 0.08); /* Deep shadow */
}

/* Base resets & typography */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase; /* uppercase heading-case */
  letter-spacing: 0.05em;
  color: var(--sight-dark-text);
}

/* Scroll-driven animations (CSS-only progress bar) */
.optic-scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--sight-accent-gradient);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 9999;
  animation: optic-progress auto linear;
  animation-timeline: scroll();
}

@keyframes optic-progress {
  to { transform: scaleX(1); }
}

/* --- HEADER AND NAVIGATION --- */
.optic-main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 251, 244, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(224, 83, 43, 0.1);
  padding: 1rem 1.5rem;
  transition: var(--sight-transition);
}

.optic-header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.optic-brand-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.optic-nav-checkbox {
  display: none;
}

.optic-hamburger-trigger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.optic-hamburger-trigger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--sight-dark-text);
  border-radius: 2px;
  transition: var(--sight-transition);
}

.optic-navigation-menu {
  display: flex;
  align-items: center;
}

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

.optic-nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sight-dark-text-muted);
  text-decoration: none;
  transition: var(--sight-transition);
}

.optic-nav-link:hover {
  color: var(--sight-accent);
}

.optic-nav-btn {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--sight-radius);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(224, 83, 43, 0.2);
  transition: var(--sight-transition);
}

.optic-nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 83, 43, 0.3);
}

/* Mobile responsive menu */
@media (max-width: 768px) {
  .optic-hamburger-trigger {
    display: flex;
  }
  
  .optic-navigation-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--sight-bg);
    border-bottom: 2px solid var(--sight-bg-secondary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    flex-direction: column;
  }
  
  .optic-nav-list {
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    width: 100%;
    text-align: center;
  }

  .optic-nav-btn {
    display: inline-block;
    width: 100%;
  }

  .optic-nav-checkbox:checked ~ .optic-navigation-menu {
    max-height: 400px;
  }

  .optic-nav-checkbox:checked ~ .optic-hamburger-trigger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .optic-nav-checkbox:checked ~ .optic-hamburger-trigger span:nth-child(2) {
    opacity: 0;
  }

  .optic-nav-checkbox:checked ~ .optic-hamburger-trigger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* --- HERO SECTION: Preset F (Minimal Editorial Hero) --- */
.retina-editorial-hero {
  position: relative;
  height: 75vh; /* Hero screen 60vh to 80vh */
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  overflow: hidden;
}

.retina-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,251,244,0.4) 0%, rgba(255,251,244,0.85) 100%);
  backdrop-filter: blur(2px); /* Weak blur as requested */
  z-index: 1;
}

.retina-hero-inner {
  position: relative;
  z-index: 10;
  padding: 2rem;
  max-width: 900px;
}

.retina-hero-title {
  font-size: clamp(3.5rem, 8vw, 7.5rem); /* Big 6-8rem desktop H1 */
  line-height: 0.95;
  margin-bottom: 1.5rem;
  color: var(--sight-dark-text);
  font-weight: 900;
  animation: heroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.retina-hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--sight-dark-text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-family: var(--font-body);
  text-transform: none;
}

.retina-down-indicator {
  margin-top: 3rem;
  display: inline-block;
  animation: bounce 2s infinite;
}

.retina-down-indicator svg {
  width: 32px;
  height: 32px;
  stroke: var(--sight-accent);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- SECTION PADDING CONSTRAINT --- */
section:not(.retina-editorial-hero) {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
}

/* --- CONTENT SECTION 1: Img right 60%, text left 40% with drop-cap --- */
.macula-content-one {
  background: var(--sight-bg);
}

.macula-grid-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .macula-grid-wrap {
    grid-template-columns: 4fr 6fr; /* 40% Text, 60% Image */
  }
}

.macula-text-column {
  display: flex;
  flex-direction: column;
}

.macula-section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.macula-lead-paragraph {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--sight-dark-text);
  margin-bottom: 1.5rem;
}

/* Large drop-cap first letter */
.macula-drop-cap {
  float: left;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 0.8;
  padding-top: 4px;
  padding-right: 12px;
  padding-left: 3px;
  font-weight: 900;
  color: var(--sight-accent);
}

.macula-text-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--sight-dark-text-muted);
}

.macula-image-column {
  width: 100%;
}

.macula-image-frame {
  position: relative;
  border-radius: var(--sight-radius);
  overflow: hidden;
  box-shadow: var(--sight-shadow);
}

.macula-main-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* --- CTA STRIP: Minimal text + Ghost button --- */
.iris-cta-strip {
  padding: 4rem 1.5rem;
  text-align: center;
  color: white;
}

.iris-cta-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .iris-cta-container {
    flex-row: row;
    justify-content: space-between;
    text-align: left;
    flex-direction: row;
  }
}

.iris-cta-message {
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

.iris-cta-ghost-btn {
  display: inline-block;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border: 2px solid white;
  border-radius: var(--sight-radius);
  text-decoration: none;
  color: white;
  background: transparent;
  transition: var(--sight-transition);
  white-space: nowrap;
}

.iris-cta-ghost-btn:hover {
  background: white;
  color: var(--sight-accent);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Divider path alignment */
.optic-section-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: var(--sight-bg);
}

.optic-section-divider svg {
  display: block;
  width: 100%;
  height: 48px;
}

/* --- FEATURES: Accordion-style (CSS open design) --- */
.pupil-accordion-features {
  background: var(--sight-bg-secondary);
}

.pupil-features-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.pupil-header-block {
  margin-bottom: 4rem;
}

.pupil-features-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1rem;
}

.pupil-features-subtitle {
  font-size: 1.1rem;
  color: var(--sight-dark-text-muted);
}

.pupil-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pupil-accordion-item {
  position: relative;
  background: var(--sight-bg);
  padding: 2.5rem;
  border-radius: var(--sight-radius);
  box-shadow: var(--sight-shadow);
  overflow: hidden;
  transition: var(--sight-transition);
}

.pupil-accordion-item:hover {
  transform: translateY(-4px);
}

/* Large order number background */
.pupil-watermark {
  position: absolute;
  top: -1.5rem;
  right: -0.5rem;
  font-family: var(--font-display);
  font-size: 9rem;
  font-weight: 900;
  color: var(--sight-dark-text);
  line-height: 1;
  opacity: 0.05; /* Giant transparent watermark */
  pointer-events: none;
  user-select: none;
}

.pupil-accordion-content {
  position: relative;
  z-index: 10;
}

.pupil-item-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--sight-green-element);
}

.pupil-item-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--sight-dark-text-muted);
  margin: 0;
}

/* --- CONTENT SECTION 2: Pull quote + Img and text under --- */
.cornea-insight-section {
  background: var(--sight-bg);
}

.cornea-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cornea-pull-quote-wrapper {
  padding: 3rem 2.5rem;
  border-left: 6px solid var(--sight-accent);
  border-radius: 0 var(--sight-radius) var(--sight-radius) 0;
  margin-bottom: 4rem;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.02);
}

.cornea-pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--sight-dark-text);
  margin: 0;
}

.cornea-sub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .cornea-sub-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.cornea-text-box h3 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.cornea-sub-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--sight-dark-text-muted);
  margin-bottom: 1rem;
}

.cornea-image-box {
  width: 100%;
}

.cornea-secondary-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--sight-radius);
  box-shadow: var(--sight-shadow);
}

/* --- TESTIMONIALS: Horizontal Full-width Cards --- */
.retina-testimonials-section {
  background: var(--sight-bg-secondary);
}

.retina-testimonials-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.retina-testimonials-header {
  margin-bottom: 3.5rem;
}

.retina-testimonials-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.retina-testimonials-subtitle {
  font-size: 1.1rem;
  color: var(--sight-dark-text-muted);
}

.retina-testimonials-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.retina-testimonial-card {
  position: relative;
  background: var(--sight-bg);
  padding: 3rem;
  border-radius: var(--sight-radius);
  box-shadow: var(--sight-shadow);
  overflow: hidden;
}

/* Giant quotation mark in top-left */
.retina-quote-icon {
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 1;
  color: var(--sight-accent);
  opacity: 0.12;
  user-select: none;
  pointer-events: none;
}

.retina-testimonial-content {
  position: relative;
  z-index: 10;
}

.retina-testimonial-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--sight-dark-text);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.retina-testimonial-author {
  display: block;
  text-align: right;
  font-weight: 600;
  color: var(--sight-green-element);
}

/* --- FAQ SECTION: Bold Questions, Open Answers, Minimal --- */
.optic-faq-section {
  background: var(--sight-bg);
}

.optic-faq-container {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.optic-faq-heading {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 4rem;
}

.optic-faq-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.optic-faq-item {
  border-bottom: 1px solid rgba(29, 33, 42, 0.1);
  padding-bottom: 2rem;
}

.optic-faq-question {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--sight-dark-text);
  line-height: 1.3;
}

.optic-faq-answer {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--sight-dark-text-muted);
  margin: 0;
}

/* --- FORM SECTION: Minimalist Underline Style --- */
.retina-form-section {
  background: var(--sight-bg-secondary);
}

.retina-form-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

@media (min-width: 992px) {
  .retina-form-grid {
    grid-template-columns: 5fr 7fr;
  }
}

.retina-contact-info {
  display: flex;
  flex-direction: column;
}

.retina-form-title {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.retina-form-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--sight-dark-text-muted);
  margin-bottom: 2rem;
}

.retina-address-details {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.retina-address-line {
  font-size: 1rem;
  font-weight: 600;
  color: var(--sight-dark-text);
}

.retina-form-wrapper {
  background: var(--sight-bg);
  padding: 3rem;
  border-radius: var(--sight-radius);
  box-shadow: var(--sight-shadow);
}

.retina-minimal-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.retina-field-group {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
}

.retina-field-group input,
.retina-field-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(29, 33, 42, 0.15);
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--sight-dark-text);
  font-family: var(--font-body);
  transition: var(--sight-transition);
}

.retina-field-group input:focus,
.retina-field-group textarea:focus {
  outline: none;
  border-color: var(--sight-accent);
}

.retina-field-group label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sight-dark-text-muted);
  transition: var(--sight-transition);
}

.retina-field-group input:focus + label,
.retina-field-group textarea:focus + label {
  color: var(--sight-accent);
}

.retina-submit-trigger {
  background: var(--sight-accent-gradient);
  color: white;
  border: none;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--sight-radius);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(224, 83, 43, 0.3);
  transition: var(--sight-transition);
}

.retina-submit-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(224, 83, 43, 0.45);
}

/* --- FOOTER --- */
.optic-main-footer {
  background: var(--sight-dark-text);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 1.5rem;
}

.optic-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .optic-footer-container {
    flex-row: row;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
  }
}

.optic-footer-brand img {
  height: 35px;
  width: auto;
  object-fit: contain;
}

.optic-footer-nav {
  display: flex;
}

.optic-footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .optic-footer-links {
    flex-direction: row;
  }
}

.optic-foot-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--sight-transition);
}

.optic-foot-link:hover {
  color: var(--sight-accent);
}

/* Scroll Animations Support (CSS-Only Viewport entry) */
@supports (animation-timeline: view()) {
  .pupil-accordion-item,
  .retina-testimonial-card,
  .macula-grid-wrap,
  .cornea-sub-grid {
    animation: revealLinear both;
    animation-timeline: view();
    animation-range: entry 5% cover 30%;
  }

  @keyframes revealLinear {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}