/* CSS Variables & Global Reset */
:root {
    /* Colors */
    --clr-bg-primary: #FFFFFF;
    --clr-bg-secondary: #F6F4EF; /* Cream background for grid */
    --clr-dark: #131E18; /* Dark sections, footer */
    --clr-stats-bg: #345C5A; /* Teal stats section */
    --clr-cta-bg: #1A8341; /* Green CTA */
    --clr-text-primary: #1A3B39;
    --clr-text-light: #5A6D6C;
    --clr-white: #FFFFFF;
    --clr-green-light: #E7F3EF;
    --clr-green-accent: #25A358;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 4px 10px rgba(26, 59, 57, 0.05);
    --shadow-md: 0 10px 30px rgba(26, 59, 57, 0.1);
    --shadow-lg: 0 20px 40px rgba(26, 59, 57, 0.15);
    --shadow-glow: 0 15px 30px rgba(26, 131, 65, 0.3);
    
    /* Spacing */
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text-primary);
    background-color: var(--clr-bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Classes */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-text-primary);
    line-height: 1.2;
}

.section-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--clr-text-light);
    max-width: 600px;
    margin-bottom: 3rem;
}

.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
    background: var(--clr-white);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--clr-text-primary);
}

.logo.white {
    color: var(--clr-white);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--clr-text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline {
    border: 1px solid var(--clr-text-primary);
    color: var(--clr-text-primary);
}

.btn-outline:hover {
    background: var(--clr-text-primary);
    color: var(--clr-white);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: flex-start;
    padding-top: 7rem;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Dark green gradient overlay — matches Delivery hero */
/* Top 100% opacity → 50% middle → fades for video visibility */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(3, 53, 51, 1) 0%,
        rgba(3, 53, 51, 0.9) 15%,
        rgba(3, 53, 51, 0.75) 30%,
        rgba(3, 53, 51, 0.5) 50%,
        rgba(3, 53, 51, 0.35) 70%,
        rgba(3, 53, 51, 0.55) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

/* CRITICAL: Align hero text with header pill's OUTER LEFT EDGE.
   The header pill uses position:fixed with left: clamp(20px, 4vw, 64px) and max-width: 1280px centered.
   So we replicate the EXACT same positioning model for the hero content. */
.hero .hero-content.container {
    /* Override the inherited .container defaults */
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: clamp(20px, 4vw, 64px) !important;
    padding-right: clamp(20px, 4vw, 64px) !important;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .hero .hero-content.container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* Constrain text width inside the wider container so lines don't get too long */
.hero-content .hero-title,
.hero-content .hero-subtitle {
    max-width: 800px;
    margin-left: 0;
    margin-right: auto;
}

.hero-title {
    font-size: 3.75rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.1;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.hero-title .hero-accent {
    color: #6EE7B7;
    font-style: italic;
    font-weight: 500;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
    font-size: 1.075rem;
    font-weight: 400;
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.55;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

/* Animations */
.animate-on-load {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease-out forwards;
    animation-delay: 2s; /* 2 seconds delay as requested */
}

.animate-on-load.delay-1 {
    animation-delay: 2.2s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* The Story Section */
.the-story {
    padding: 8rem 0;
    background: var(--clr-white);
}

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

.story-content h2 {
    margin-bottom: 2rem;
}

.story-heading {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-style: italic;
    color: var(--clr-stats-bg);
}

.story-content p {
    color: var(--clr-text-light);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.story-image-container {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.mockup-frame {
    position: relative;
    z-index: 2;
    max-width: 320px;
    width: 100%;
}

.mockup-img {
    width: 100%;
    max-width: 240px; /* Force exact sizing on the image itself */
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.float-anim {
    animation: floating 5s ease-in-out infinite;
}

.float-anim-alt {
    animation: floatingAlt 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

@keyframes floatingAlt {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Stats Section */
.stats {
    background-color: var(--clr-stats-bg);
    padding: 6rem 0;
    color: var(--clr-white);
}

.stats-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.stat-item.active {
    opacity: 1;
    transform: translateY(0);
}

.stats-container .stat-item:nth-child(2) { transition-delay: 0.1s; }
.stats-container .stat-item:nth-child(3) { transition-delay: 0.2s; }

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1;
}

.stat-text {
    font-size: 0.8rem;
    letter-spacing: 1px;
    opacity: 0.8;
    line-height: 1.4;
}

/* Features Wrapper */
.features-wrapper {
    position: relative;
    padding: 8rem 0 4rem; /* reduced bottom padding */
    background-color: var(--clr-white);
    background-image: url('public/Oreyov_assets/background-shape.png');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 100% 200%;
}

/* Removed .bg-shape as it's now a background-image */

.features-intro {
    margin-bottom: 6rem;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 8rem;
}

.feature-block:last-child {
    margin-bottom: 0;
}

.feature-block.reverse {
    direction: rtl;
}

.feature-block.reverse > * {
    direction: ltr;
}

.feature-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.feature-desc {
    color: var(--clr-text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--clr-text-primary);
}

.check-icon {
    width: 24px;
    height: 24px;
    color: var(--clr-stats-bg);
    flex-shrink: 0;
    background: var(--clr-green-light);
    border-radius: 50%;
    padding: 4px;
}

.feature-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-block .mockup-frame {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

/* Feature Grid Section */
.feature-grid-section {
    background-color: var(--clr-bg-secondary);
    padding: 4rem 0 8rem 0;
}

.grid-header {
    margin-bottom: 4rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.grid-card {
    background: var(--clr-white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: default;
}

.grid-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 48px;
    height: 48px;
    color: var(--clr-green-accent);
    margin-bottom: 1.5rem;
}

.grid-card h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.grid-card p {
    color: var(--clr-text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Steps Section */
.steps-section {
    background: linear-gradient(135deg, #131E18 0%, #1A2820 100%);
    color: var(--clr-white);
    padding: 8rem 0;
    text-align: center;
}

.steps-kicker {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--clr-green-accent);
    margin-bottom: 1rem;
}

.steps-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--clr-white);
}

.steps-subtitle {
    color: rgba(255,255,255,0.7);
    margin-bottom: 4rem;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 1;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    right: -50%;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.1);
    z-index: 1;
}

.step-number {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    color: var(--clr-white);
}

.step-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--clr-white);
}

.step-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #131E18 0%, #1A2820 100%);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--clr-dark);
    z-index: 0;
}

.cta-box {
    background: var(--clr-cta-bg);
    border-radius: 30px;
    padding: 5rem 3rem;
    text-align: center;
    color: var(--clr-white);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-lg);
    background-image: linear-gradient(to bottom right, #1A8341, #126330);
}

.cta-box h2 {
    color: var(--clr-white);
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--clr-dark);
    color: var(--clr-white);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.store-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #1A3F3B 0%, #0F2D2A 100%);
    color: var(--clr-white);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}
/* Subtle teal accent line at the very top of the footer */
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(110, 231, 183, 0.4), transparent);
    z-index: 2;
}

.footer-container, .footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-col h4 {
    color: var(--clr-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.link-col a {
    display: block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.link-col a:hover {
    color: var(--clr-white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: rgba(255,255,255,0.6);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--clr-white);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

/* Responsiveness */
@media (max-width: 992px) {
    .story-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .story-image-container {
        justify-content: center;
    }
    
    .feature-block, .feature-block.reverse {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .feature-list li {
        justify-content: center;
        text-align: left;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .cta-box {
        padding: 3rem 1.5rem;
    }
    
    .cta-box h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* === Mobile mockup scaling — fit phone screens inside viewport === */
    .mockup-frame {
        max-width: 260px;
        margin: 0 auto;
    }
    .mockup-img {
        max-width: 240px;
        width: 100%;
    }
    /* Feature-block mockups: +82% total larger on mobile only ("Everything you need" section) */
    .feature-block .mockup-frame {
        max-width: min(473px, 92vw);
    }
    .feature-block .mockup-img {
        max-width: min(437px, 88vw);
        width: 100%;
    }
    .story-image-container .mockup-frame {
        max-width: 260px;
    }
    .feature-image, 
    .story-image-container {
        width: 100%;
        padding: 1rem 0;
        overflow: visible;
    }
    /* Prevent any image from overflowing its container on mobile */
    .feature-image img,
    .story-image-container img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    /* Story image stays at original 220px on very small phones */
    .story-image-container .mockup-img {
        width: 100% !important;
        max-width: 220px !important;
        height: auto !important;
        object-fit: contain !important;
        margin: 0 auto;
        display: block;
    }
    /* Generic mockup-img fallback */
    .mockup-img {
        width: 100% !important;
        max-width: 220px !important;
        height: auto !important;
        object-fit: contain !important;
        margin: 0 auto;
        display: block;
    }
    /* Feature-block mockups: +82% total larger (308→400px) capped at 88vw for safety on very small phones */
    .feature-block .mockup-img {
        width: 100% !important;
        max-width: min(400px, 88vw) !important;
        height: auto !important;
        object-fit: contain !important;
        margin: 0 auto;
        display: block;
    }
    
    .feature-image, 
    .story-image-container {
        padding: 1rem;
        min-height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible;
        width: 100%;
    }
    
    /* Story frame stays at 260px on small phones */
    .story-image-container .mockup-frame {
        width: 100%;
        max-width: 260px;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        padding: 0;
    }
    /* Feature-block frame: +82% total larger (364→473px) capped at 92vw */
    .feature-block .mockup-frame {
        width: 100%;
        max-width: min(473px, 92vw);
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        padding: 0;
    }
}

/* ============================================
   UNIFIED OREYOV HEADER — shared across all products
   ============================================ */
.oreyov-header {
  position: fixed;
  top: 16px;
  left: clamp(20px, 4vw, 64px);
  right: clamp(20px, 4vw, 64px);
  z-index: 1000;
  max-width: 1280px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(26, 46, 43, 0.06);
  border-radius: 18px;
  padding: 12px 20px;
  box-shadow: 0 8px 32px -8px rgba(19, 77, 73, 0.12), 0 2px 8px rgba(19, 77, 73, 0.04);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.oreyov-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.oreyov-logo {
  display: inline-flex;
  align-items: center;
  height: 44px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.oreyov-logo:hover { opacity: 0.85; }
.oreyov-logo-img {
  height: 100%;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}
.oreyov-logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  color: #1A3B39;
  letter-spacing: -0.02em;
}
.oreyov-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.oreyov-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #5C6B68;
  text-decoration: none;
  transition: color 0.2s;
}
.oreyov-nav-link:hover { color: #2D8A7F; }

.oreyov-dropdown { position: relative; }
.oreyov-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  color: #5C6B68;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s;
}
.oreyov-dropdown-trigger:hover { color: #2D8A7F; }
.oreyov-dropdown-trigger svg { transition: transform 0.25s ease; }
.oreyov-dropdown:hover .oreyov-dropdown-trigger svg,
.oreyov-dropdown:focus-within .oreyov-dropdown-trigger svg { transform: rotate(180deg); }
.oreyov-dropdown::before {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  width: 200px; height: 20px;
  transform: translateX(-50%);
}
.oreyov-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 340px;
  background: #fff;
  border: 1px solid rgba(26, 46, 43, 0.08);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 20px 60px -15px rgba(19, 77, 73, 0.25), 0 4px 12px rgba(19, 77, 73, 0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.oreyov-dropdown:hover .oreyov-dropdown-menu,
.oreyov-dropdown:focus-within .oreyov-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.oreyov-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s;
}
.oreyov-dropdown-item:hover { background: #EEF7F3; }
.oreyov-dropdown-item--active {
  background: #EEF7F3;
  pointer-events: none;
}
.oreyov-dropdown-ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.oreyov-dropdown-ico svg { width: 20px; height: 20px; }
.oreyov-dropdown-ico--delivery,
.oreyov-dropdown-ico--warranty {
  background: linear-gradient(135deg, #DCF2EA, #B8E5DC);
  color: #1E6B62;
}
.oreyov-dropdown-ico--eldercare {
  background: linear-gradient(135deg, #F4EBDA, #E8D9B5);
  color: #8B6F47;
}
.oreyov-dropdown-name {
  font-size: 14px;
  font-weight: 600;
  color: #1A2E2B;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.oreyov-dropdown-current {
  font-size: 11px;
  font-weight: 500;
  color: #4CAF87;
  letter-spacing: 0;
}
.oreyov-dropdown-sub {
  font-size: 12.5px;
  color: #9AA8A5;
  line-height: 1.4;
}

.oreyov-hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.oreyov-hamburger:hover { background: rgba(45, 138, 127, 0.08); }
.oreyov-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1A2E2B;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.oreyov-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.oreyov-hamburger.is-open span:nth-child(2) { opacity: 0; }
.oreyov-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.oreyov-drawer {
  position: fixed;
  inset: 0;
  z-index: 1001;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.oreyov-drawer.is-open { visibility: visible; opacity: 1; }
.oreyov-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 58, 55, 0.5);
  backdrop-filter: blur(8px);
}
.oreyov-drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(86vw, 360px);
  background: #fff;
  box-shadow: -20px 0 60px rgba(11, 58, 55, 0.25);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.oreyov-drawer.is-open .oreyov-drawer__panel { transform: translateX(0); }
.oreyov-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(26, 46, 43, 0.08);
}
.oreyov-drawer__header .oreyov-logo { height: 40px; }
.oreyov-drawer__header .oreyov-logo-img { max-width: 140px; }
.oreyov-drawer__close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #EEF7F3;
  color: #1E6B62;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.oreyov-drawer__close svg { width: 18px; height: 18px; }
.oreyov-drawer__nav {
  flex: 1;
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.oreyov-drawer__section-label {
  font-size: 11px;
  font-weight: 700;
  color: #9AA8A5;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 8px 16px 6px;
}
.oreyov-drawer__product {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s;
}
.oreyov-drawer__product:hover { background: #EEF7F3; }
.oreyov-drawer__product--active { background: #EEF7F3; pointer-events: none; }
.oreyov-drawer__product .oreyov-dropdown-ico { width: 38px; height: 38px; }
.oreyov-drawer__product-name {
  font-size: 14.5px;
  font-weight: 600;
  color: #1A2E2B;
  margin-bottom: 2px;
}
.oreyov-drawer__product-sub {
  font-size: 12px;
  color: #9AA8A5;
}
.oreyov-drawer__product--active .oreyov-drawer__product-sub {
  color: #4CAF87;
  font-weight: 500;
}
.oreyov-drawer__footer {
  padding: 18px 22px 24px;
  border-top: 1px solid rgba(26, 46, 43, 0.08);
}
.oreyov-drawer__back {
  font-size: 14px;
  color: #5C6B68;
  text-decoration: none;
  font-weight: 500;
}
.oreyov-drawer__back:hover { color: #2D8A7F; }

body.oreyov-drawer-open { overflow: hidden; }

@media (max-width: 900px) {
  .oreyov-nav { display: none; }
  .oreyov-hamburger { display: flex; }
}
@media (max-width: 768px) {
  .oreyov-header {
    top: 12px;
    left: 12px;
    right: 12px;
    padding: 8px 14px;
    border-radius: 14px;
  }
  .oreyov-logo { height: 38px; }
  .oreyov-logo-img { max-width: 140px; }
  .oreyov-logo-text { font-size: 18px; }
}

/* Footer logo image styling */
.footer-logo-wrap { display: flex; align-items: center; }
.footer-logo-img {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}
@media (max-width: 768px) {
  .footer-logo-img { height: 42px; max-width: 170px; }
}

/* ============================================
   Story scene image (replaces phone mockup)
   ============================================ */
.story-scene {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    border-radius: 28px;
    overflow: hidden;
    box-shadow:
        0 30px 80px -20px rgba(19, 77, 73, 0.28),
        0 10px 30px -10px rgba(19, 77, 73, 0.18),
        0 0 0 1px rgba(45, 138, 127, 0.08);
    background: linear-gradient(135deg, #DCF2EA 0%, #BFE8DB 100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.story-scene::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}
.story-scene:hover {
    transform: translateY(-6px);
}
.story-scene-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 28px;
    position: relative;
    z-index: 2;
}

@media (max-width: 1024px) {
    .story-scene { max-width: 480px; }
}
@media (max-width: 768px) {
    .story-scene {
        max-width: 100%;
        margin: 0 auto;
        border-radius: 20px;
    }
    .story-scene-img { border-radius: 20px; }
    .story-image-container { justify-content: center; }
}

/* Mobile drawer divider + section text links */
.oreyov-drawer__divider {
    height: 1px;
    background: rgba(26, 46, 43, 0.08);
    margin: 12px 16px;
}
.oreyov-drawer__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 500;
    color: #1A2E2B;
    text-decoration: none;
    border-radius: 10px;
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.01em;
    transition: background 0.2s, color 0.2s;
}
.oreyov-drawer__link::after {
    content: '→';
    color: #9AA8A5;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: transform 0.2s, color 0.2s;
}
.oreyov-drawer__link:hover,
.oreyov-drawer__link:active {
    background: #EEF7F3;
    color: #1E6B62;
}
.oreyov-drawer__link:hover::after {
    color: #2D8A7F;
    transform: translateX(3px);
}

/* "Back to Oreyov" link visual emphasis in nav */
.oreyov-nav-link--back {
    color: #2D8A7F;
    font-weight: 600;
    padding-left: 12px;
    margin-left: 4px;
    border-left: 1px solid rgba(26, 46, 43, 0.12);
}
.oreyov-nav-link--back:hover { color: #1E6B62; }

/* Watch demo button inside hero — white bg, black text, green play */
.hero-watch-demo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding: 14px 26px;
    background: #ffffff;
    color: #0A1614;
    border: none;
    border-radius: 999px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.hero-watch-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.hero-watch-demo__play {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #10B981;
    color: #ffffff;
    transition: transform 0.3s;
}
.hero-watch-demo:hover .hero-watch-demo__play {
    transform: scale(1.08);
}
.hero-watch-demo__play svg { width: 12px; height: 12px; margin-left: 1.5px; }
@media (max-width: 640px) {
    .hero-watch-demo { padding: 12px 22px; font-size: 14px; margin-top: 24px; }
}

/* Video Lightbox */
.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(10, 22, 20, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.35s ease;
    padding: 24px;
}
.video-lightbox.is-open { display: flex; opacity: 1; }
.video-lightbox__inner {
    position: relative;
    width: min(1000px, 100%);
    transform: scale(0.94);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.video-lightbox.is-open .video-lightbox__inner { transform: scale(1); }
.video-lightbox__close {
    position: absolute;
    top: -52px;
    right: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.25s, transform 0.25s;
}
.video-lightbox__close:hover { background: rgba(255, 255, 255, 0.28); transform: rotate(90deg); }
.video-lightbox__close svg { width: 20px; height: 20px; }
.video-lightbox__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}
.video-lightbox__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Section nav links — tighter spacing on smaller desktop screens */
@media (max-width: 1100px) {
    .oreyov-nav { gap: 18px; }
    .oreyov-nav-link { font-size: 13.5px; }
}

/* ============================================
   Mobile overlap protection
   ============================================ */
@media (max-width: 992px) {
    /* Disable parallax transform via CSS as a safety net */
    .parallax-scroll {
        transform: none !important;
    }
    
    /* Enforce vertical stacking — feature blocks become single column */
    .feature-block,
    .feature-block.reverse,
    .story-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 2.5rem !important;
    }
    
    /* In .reverse blocks, normally the image is on left and text on right.
       On mobile, we want text first, image second (always). */
    .feature-block.reverse {
        flex-direction: column !important;
    }
    .feature-block .feature-image,
    .feature-block.reverse .feature-image {
        order: 2;
    }
    .feature-block .feature-content,
    .feature-block.reverse .feature-content {
        order: 1;
    }
    .story-container .story-content { order: 1; }
    .story-container .story-image-container { order: 2; }
    
    /* Make sure each block has breathing room */
    .feature-block {
        margin-bottom: 4rem !important;
    }
    
    /* Story scene image proper sizing on mobile */
    .story-scene {
        max-width: 100% !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 768px) {
    .feature-block {
        margin-bottom: 3rem !important;
        gap: 2rem !important;
    }
    .feature-title {
        font-size: 1.6rem;
    }
    .feature-desc {
        font-size: 1rem;
    }
}

/* ============================================
   Eldercare hero — no overlay (clean video)
   ============================================ */

/* ============================================
   MOBILE-ONLY visual adjustments
   ============================================ */
@media (max-width: 768px) {
    /* Remove decorative background-shape image, apply soft mint #ECF9F0 */
    .features-wrapper {
        background-image: none !important;
        background-color: #ECF9F0 !important;
    }

    /* Align the section heading and subtitle to the left on mobile (panel-aligned) */
    .features-intro {
        text-align: left;
    }
    .features-intro .section-title.center,
    .features-intro .section-subtitle.center {
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: auto !important;
    }
    /* Also align the feature block heading + description left on mobile */
    .feature-block,
    .feature-block.reverse {
        text-align: left !important;
    }
    .feature-block .feature-content,
    .feature-block.reverse .feature-content {
        text-align: left !important;
    }
    .feature-list li {
        justify-content: flex-start !important;
        text-align: left !important;
    }
}

/* ============================================
   HEADER — solid white pill at page top
   On scroll: slightly more see-through but still clearly visible
   ============================================ */
.oreyov-header {
    background: rgba(255, 255, 255, 0.99) !important;
    backdrop-filter: saturate(180%) blur(20px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
    border: 1px solid rgba(26, 46, 43, 0.06) !important;
    box-shadow: 0 8px 32px -8px rgba(19, 77, 73, 0.12), 0 2px 8px rgba(19, 77, 73, 0.04) !important;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* When scrolling — still solid frosted, just slightly more see-through */
.oreyov-header.is-scrolled {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: saturate(180%) blur(20px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
    border-color: rgba(26, 46, 43, 0.06) !important;
    box-shadow: 0 8px 32px -8px rgba(19, 77, 73, 0.12), 0 2px 8px rgba(19, 77, 73, 0.04) !important;
}

/* ============================================
   Footer brand: social icons under tagline
   Email moved to bottom-right (matches Delivery footer)
   ============================================ */
.footer-brand-socials {
    display: flex;
    gap: 10px;
    margin-top: 1.25rem;
}
.footer-brand-social {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    display: grid;
    place-items: center;
    transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
    text-decoration: none;
}
.footer-brand-social svg { width: 17px; height: 17px; }
.footer-brand-social:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #6EE7B7;
    border-color: rgba(110, 231, 183, 0.4);
    transform: translateY(-2px);
}

/* Bottom-right email link (matches Delivery's .footer__bottom pattern) */
.footer-bottom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom-email {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}
.footer-bottom-email:hover { color: #6EE7B7; }

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

/* ============================================
   Top header logo — bigger size for stronger brand presence
   ============================================ */
.oreyov-header { padding: 14px 22px !important; }
.oreyov-logo { height: 56px !important; }
.oreyov-logo-img { max-width: 220px !important; }
.oreyov-logo-text { font-size: 26px !important; }

@media (max-width: 768px) {
    .oreyov-header { padding: 10px 16px !important; }
    .oreyov-logo { height: 46px !important; }
    .oreyov-logo-img { max-width: 170px !important; }
    .oreyov-logo-text { font-size: 22px !important; }
}
