/* ============================================
   SORELLA LIFE - Company Website
   Food & Pharmaceutical Industries
   White theme - Clean, trustworthy, premium
   ============================================ */

:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-card: #f1f5f9;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-accent: #0d9488;
    --color-accent-hover: #0f766e;
    --color-accent-subtle: rgba(13, 148, 136, 0.12);
    --color-border: rgba(0, 0, 0, 0.08);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 10px;
    --radius-lg: 16px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Header
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: padding 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header.scrolled {
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.header-logo:hover {
    color: var(--color-accent);
}

.header-logo span {
    color: var(--color-accent);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header-menu {
    display: flex;
    list-style: none;
    gap: 36px;
}

.header-menu a {
    position: relative;
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.header-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.header-menu a:hover,
.header-menu a.active {
    color: var(--color-text);
}

.header-menu a:hover::after,
.header-menu a.active::after {
    width: 100%;
}

.header-cta {
    padding: 12px 24px !important;
    font-size: 0.9rem !important;
}

.header-cta.active {
    background: var(--color-accent-hover);
}

.header-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: var(--radius);
    transition: background 0.2s ease;
}

.header-toggle:hover {
    background: var(--color-bg-alt);
}

.header-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.header-toggle.active .header-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.header-toggle.active .header-toggle-bar:nth-child(2) {
    opacity: 0;
}

.header-toggle.active .header-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.header-overlay {
    display: none;
}

/* Legacy logo (footer) */
.logo {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
}

.logo span {
    color: var(--color-accent);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%),
        radial-gradient(ellipse 80% 50% at 50% 30%, rgba(13, 148, 136, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-primary {
    background: var(--color-accent);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(13, 148, 136, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-outline:hover {
    background: var(--color-accent-subtle);
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}


.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-scroll {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), transparent);
    animation: scrollPulse 2.5s ease-in-out infinite;
    transform-origin: center top;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   Page Hero (Inner Pages)
   ============================================ */

.page-hero {
    position: relative;
    padding: 180px 0 80px;
    background-color: var(--color-bg-alt);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.page-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 560px;
    margin: 0 auto;
}

.page-main {
    padding-bottom: 60px;
}

/* About page list */
.about-list {
    margin-top: 16px;
    padding-left: 24px;
    color: var(--color-text-muted);
}

.about-list li {
    margin-bottom: 8px;
}

.content-text h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.content-text p + p {
    margin-top: 16px;
}

.content-text .btn {
    margin-top: 24px;
}

/* Legacy: content-block for About/Products pages */
.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
}

.content-block-reverse .content-image { order: 2; }
.content-block-reverse .content-text { order: 1; }

.content-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.content-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.content-text p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ============================================
   Section Styles
   ============================================ */

.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--color-bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 16px;
}

.title-accent {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), rgba(13, 148, 136, 0.3));
    margin: 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   Blog Section
   ============================================ */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.blog-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(13, 148, 136, 0.3);
    box-shadow: var(--shadow);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-image {
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 28px 24px;
}

.blog-date {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 12px;
}

.blog-card-content h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: var(--transition);
}

.blog-card:hover .blog-card-content h3 {
    color: var(--color-accent);
}

.blog-card-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-read-more::after {
    content: ' →';
}

.blog-cta {
    text-align: center;
}

/* ============================================
   Intro Stack (replaces content-block)
   ============================================ */

.intro-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
}

.intro-stack-reverse .intro-visual {
    order: 2;
}

.intro-stack-reverse .intro-copy {
    order: 1;
}

.intro-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.intro-visual img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.intro-copy p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ============================================
   Who We Are - Staggered Layout
   ============================================ */

.stagger-layout {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.stagger-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.stagger-right .stagger-image {
    order: 2;
}

.stagger-right .stagger-content {
    order: 1;
}

.stagger-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.stagger-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.stagger-number {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.stagger-content h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.stagger-content p {
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ============================================
   Products - Bento Grid
   ============================================ */

.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
}

.bento-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.bento-item:hover {
    transform: scale(1.02);
}

.bento-featured {
    grid-column: 1 / -1;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.7) 100%);
}

.bento-inner {
    position: relative;
    z-index: 1;
    padding: 48px 40px 40px;
}

.bento-inner h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.bento-inner p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    line-height: 1.7;
}

.bento-standard {
    display: flex;
    flex-direction: column;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
}

.bento-img-wrap {
    height: 200px;
    overflow: hidden;
}

.bento-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bento-standard:hover .bento-img-wrap img {
    transform: scale(1.05);
}

.bento-text {
    padding: 28px 24px;
}

.bento-text h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 10px;
}

.bento-text p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.bento-wide {
    grid-column: 1 / -1;
    min-height: 240px;
    display: flex;
    align-items: flex-end;
}

.bento-wide .bento-overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
}

.bento-wide .bento-inner {
    padding: 36px 48px;
}

/* ============================================
   Quality - Flow List (horizontal bars)
   ============================================ */

.flow-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.flow-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 32px;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.flow-item:last-child {
    border-bottom: none;
}

.flow-item:hover {
    padding-left: 12px;
}

.flow-thumb {
    width: 180px;
    height: 120px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.flow-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flow-body h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.flow-body p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   Process - Vertical Timeline
   ============================================ */

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline-line {
    position: absolute;
    left: 15px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-border) 100%);
    border-radius: 1px;
}

.timeline-step {
    position: relative;
    margin-bottom: 48px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 0;
    width: 32px;
    height: 32px;
    background: var(--color-accent);
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-block {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: center;
}

.timeline-step:nth-child(even) .timeline-block {
    direction: rtl;
}

.timeline-step:nth-child(even) .timeline-block > * {
    direction: ltr;
}

.timeline-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.timeline-visual img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.timeline-body h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.timeline-body p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ============================================
   R&D - Overlapping Stack
   ============================================ */

.overlap-stack {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.overlap-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    position: relative;
}

.overlap-offset-right .overlap-visual {
    margin-right: -40px;
    z-index: 1;
}

.overlap-offset-right .overlap-panel {
    margin-left: -40px;
    z-index: 2;
}

.overlap-offset-left .overlap-visual {
    order: 2;
    margin-left: -40px;
    z-index: 1;
}

.overlap-offset-left .overlap-panel {
    order: 1;
    margin-right: -40px;
    z-index: 2;
}

.overlap-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.overlap-visual img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.overlap-panel {
    background: var(--color-bg-card);
    padding: 48px 56px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.overlap-panel h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.overlap-panel p {
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* Products Page - Alternating blocks */
.products-page-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.products-intro-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 20px;
}

.products-intro-text p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 28px;
}

.products-intro-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.products-intro-visual img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

/* Product block - alternating layout */
.product-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 72px 0;
    border-bottom: 1px solid var(--color-border);
}

.product-block:first-child {
    padding-top: 0;
}

.product-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.product-block-reverse .product-block-visual {
    order: 2;
}

.product-block-reverse .product-block-content {
    order: 1;
}

.product-block-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-block-visual img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

.product-block-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 12px;
}

.product-block-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.3;
}

.product-block-content p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* ============================================
   Contact Page
   ============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-wrapper h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}

.contact-intro {
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 8px;
}

.contact-form label span {
    color: var(--color-accent);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 0.7;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-subtle);
}

.contact-form input.input-error,
.contact-form textarea.input-error {
    border-color: #dc2626;
}

.contact-form button[type="submit"] {
    margin-top: 8px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px;
}

.contact-info-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.contact-detail {
    margin-bottom: 16px;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-info-card a {
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info-card a:hover {
    color: var(--color-accent);
}

.contact-info-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.contact-help-list {
    list-style: none;
    padding: 0;
}

.contact-help-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--color-text-muted);
}

.contact-help-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 600;
}

/* Legal pages (Privacy, etc.) */
.legal-content {
    max-width: 720px;
    margin: 0 auto;
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-top: 40px;
    margin-bottom: 12px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p,
.legal-content li {
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.legal-content ul {
    margin: 12px 0 24px 24px;
}

.legal-content a {
    color: var(--color-accent);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    padding: 60px 0 24px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), rgba(13, 148, 136, 0.5));
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    font-size: 1.5rem;
    display: inline-block;
    margin-bottom: 16px;
}

.footer-brand p {
    max-width: 320px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--color-accent);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ============================================
   Homepage Sections
   ============================================ */

.home-section {
    padding: 100px 0;
}

.home-section-alt {
    background: var(--color-bg-alt);
}

.home-section-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.home-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin-bottom: 24px;
}

.home-section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.home-section-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 640px;
}

.home-section-header {
    margin-bottom: 48px;
}

.home-section-header-narrow {
    max-width: 680px;
}

.home-section-content {
    margin-bottom: 48px;
}

/* Who We Are - Side by side layout */
.who-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.who-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.who-image:hover {
    transform: scale(1.02);
}

.who-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.who-image:hover img {
    transform: scale(1.05);
}

.who-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.who-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
    padding: 28px;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    border-left: 3px solid var(--color-accent);
}

.who-highlight {
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: transform 0.3s ease, padding-left 0.3s ease;
}

.who-highlight:hover {
    transform: translateX(4px);
}

.who-highlight strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
}

.who-highlight span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.home-section-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.5s ease;
    box-shadow: var(--shadow);
    margin-bottom: 48px;
}

.home-section-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-section-image:hover img {
    transform: scale(1.03);
}

.home-section-image-full {
    max-width: 100%;
}

.home-section-image-full img {
    height: 360px;
}

.home-section-image-center {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.home-section-image-center img {
    height: 340px;
}

.home-section-cta {
    text-align: center;
}

.home-section-cta .btn {
    min-width: 200px;
}

/* Products Showcase */
.products-intro {
    margin-bottom: 48px;
}

.products-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.product-showcase-item {
    display: flex;
    flex-direction: row;
    gap: 24px;
    text-decoration: none;
    color: inherit;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    align-items: center;
}

.product-showcase-item:hover {
    border-color: rgba(13, 148, 136, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.product-showcase-img {
    width: 140px;
    height: 140px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.product-showcase-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-showcase-item:hover .product-showcase-img img {
    transform: scale(1.1);
}

.product-showcase-body h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-showcase-body p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0 0 12px;
}

.product-showcase-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    transition: var(--transition);
}

.product-showcase-link::after {
    content: ' →';
}

.product-showcase-item:hover .product-showcase-link {
    color: var(--color-accent-hover);
}

/* R&D Section - Side by side with pillars */
.rd-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.rd-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.rd-visual:hover img {
    transform: scale(1.04);
}

.rd-visual img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.rd-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.rd-badge-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.1em;
}

.rd-badge-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
}

.rd-content {
    padding-top: 8px;
}

.rd-lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.rd-pillars {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
}

.rd-pillars li {
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rd-pillars li:last-child {
    border-bottom: none;
}

.rd-pillars strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

.rd-pillars span {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Our Process - Side by side with timeline */
.process-row {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: start;
}

.process-visual {
    position: sticky;
    top: 120px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.process-visual:hover img {
    transform: scale(1.04);
}

.process-visual img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-flow {
    padding-top: 4px;
}

.process-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 36px;
}

.process-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step;
}

.process-steps li {
    position: relative;
    padding-left: 56px;
    padding-bottom: 32px;
}

.process-steps li:last-child {
    padding-bottom: 0;
}

.process-steps li::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 32px;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.process-steps li:last-child::before {
    display: none;
}

.process-steps li:hover .process-step-num {
    transform: scale(1.1);
}

.process-step-num {
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    transition: transform 0.3s ease;
    background: var(--color-accent);
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step-body h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.process-step-body p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Blog Section - Professional editorial style */
.blog-section {
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.blog-section-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}

.blog-section-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.blog-section-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
    line-height: 1.25;
}

.blog-section-lead {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.blog-editorial {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.blog-editorial-featured {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-editorial-featured:hover {
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px);
}

.blog-featured-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-editorial-featured:hover .blog-featured-image img {
    transform: scale(1.06);
}

.blog-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.15) 100%);
    pointer-events: none;
}

.blog-featured-content {
    padding: 36px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-post-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.blog-featured-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.35;
    margin-bottom: 14px;
    transition: color 0.3s ease;
}

.blog-editorial-featured:hover .blog-featured-title {
    color: var(--color-accent);
}

.blog-featured-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.blog-post-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.blog-post-link::after {
    content: ' →';
    margin-left: 2px;
}

.blog-editorial-featured:hover .blog-post-link,
.blog-post-card:hover .blog-post-link {
    color: var(--color-accent-hover);
    transform: translateX(4px);
}

.blog-editorial-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.blog-post-card {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-post-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: rgba(13, 148, 136, 0.2);
}

.blog-post-card-image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.blog-post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-post-card:hover .blog-post-card-image img {
    transform: scale(1.08);
}

.blog-post-card-content {
    flex: 1;
    min-width: 0;
}

.blog-post-card-content .blog-post-date {
    margin-bottom: 8px;
}

.blog-post-card-content h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.35;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.blog-post-card:hover .blog-post-card-content h4 {
    color: var(--color-accent);
}

.blog-section-footer {
    text-align: center;
    margin-top: 48px;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .content-block,
    .intro-stack,
    .products-page-intro,
    .product-block {
        grid-template-columns: 1fr;
    }
    
    .content-block-reverse .content-image,
    .content-block-reverse .content-text,
    .intro-stack-reverse .intro-visual,
    .intro-stack-reverse .intro-copy,
    .product-block-reverse .product-block-visual,
    .product-block-reverse .product-block-content {
        order: unset;
    }
    
    .stagger-item {
        grid-template-columns: 1fr;
    }
    
    .stagger-right .stagger-image,
    .stagger-right .stagger-content {
        order: unset;
    }
    
    .bento-standard {
        grid-column: 1 / -1;
    }
    
    .timeline-block {
        grid-template-columns: 1fr;
    }
    
    .timeline-step:nth-child(even) .timeline-block {
        direction: ltr;
    }
    
    .overlap-offset-right .overlap-visual,
    .overlap-offset-right .overlap-panel,
    .overlap-offset-left .overlap-visual,
    .overlap-offset-left .overlap-panel {
        margin: 0;
    }
    
    .overlap-item {
        grid-template-columns: 1fr;
    }
    
    .overlap-offset-left .overlap-visual,
    .overlap-offset-left .overlap-panel {
        order: unset;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .products-page-intro,
    .product-block {
        grid-template-columns: 1fr;
    }
    
    .product-block {
        padding: 48px 0;
    }
    
    .product-block-visual img {
        height: 280px;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .who-row,
    .rd-row,
    .process-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .process-visual {
        position: static;
    }
    
    .process-visual img {
        height: 400px;
    }
    
    .who-image img {
        height: 360px;
    }
    
    .rd-visual img {
        height: 380px;
    }
    
    .products-showcase {
        grid-template-columns: 1fr;
    }
    
    .blog-editorial {
        grid-template-columns: 1fr;
    }
    
    .home-section-image img {
        height: 300px;
    }
    
    .home-section-image-center img {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 140px 0 60px;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .subsection-grid,
    .products-grid,
    .rd-grid,
    .bento-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .product-showcase-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .product-showcase-img {
        width: 100%;
        height: 180px;
    }
    
    .blog-featured-image {
        height: 260px;
    }
    
    .blog-featured-content {
        padding: 28px 24px;
    }
    
    .blog-featured-title {
        font-size: 1.3rem;
    }
    
    .blog-post-card {
        flex-direction: column;
    }
    
    .blog-post-card-image {
        width: 100%;
        height: 180px;
    }
    
    .home-section {
        padding: 60px 0;
    }
    
    .who-image img {
        height: 280px;
    }
    
    .rd-visual img {
        height: 300px;
    }
    
    .rd-badge {
        padding: 16px 20px;
        bottom: 16px;
        left: 16px;
        right: 16px;
    }
    
    .home-section-image img {
        height: 260px;
    }
    
    .home-section-image-full img,
    .home-section-image-center img {
        height: 240px;
    }
    
    .process-row {
        grid-template-columns: 1fr;
    }
    
    .process-visual {
        position: static;
    }
    
    .process-visual img {
        height: 340px;
    }
    
    .process-steps li {
        padding-left: 48px;
        padding-bottom: 28px;
    }
    
    .process-step-num {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    
    .process-steps li::before {
        left: 15px;
    }
    
    .flow-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .flow-thumb {
        width: 100%;
        height: 180px;
    }
    
    .timeline {
        padding-left: 32px;
    }
    
    .timeline-marker {
        left: -32px;
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .timeline-line {
        left: 13px;
    }
    
    .overlap-panel {
        padding: 32px 24px;
    }
    
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 85vw);
        max-width: 320px;
        height: 100vh;
        background: #ffffff;
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: stretch;
        padding: 90px 32px 40px;
        gap: 0;
        border-left: 1px solid var(--color-border);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    
    .header-nav.active {
        right: 0;
    }
    
    .header-menu {
        flex-direction: column;
        gap: 0;
        margin-bottom: 24px;
    }
    
    .header-menu a {
        display: block;
        padding: 16px 0;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--color-border);
    }
    
    .header-menu a::after {
        display: none;
    }
    
    .header-menu a:hover,
    .header-menu a.active {
        color: var(--color-accent);
    }
    
    .header-cta {
        margin-top: auto;
        text-align: center;
    }
    
    .header-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }
    
    .header-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.35s ease;
        z-index: 998;
    }
    
    .header.menu-open .header-overlay {
        opacity: 1;
        pointer-events: auto;
    }
    
    
    .content-image img {
        height: 280px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .content-block {
        margin-bottom: 48px;
    }
    
    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .home-section {
        padding: 48px 0;
    }
    
    .home-section-image img {
        height: 220px;
    }
    
    .products-showcase {
        grid-template-columns: 1fr;
    }
    
    .stagger-image img,
    .intro-visual img {
        height: 240px;
    }
    
    .bento-featured {
        min-height: 280px;
    }
    
    .bento-wide {
        min-height: 200px;
    }
}

/* ============================================
   Scroll Animations & Enhancements
   ============================================ */

@media (prefers-reduced-motion: no-preference) {
    /* Hero entrance */
    .hero-title.reveal-item,
    .hero-subtitle.reveal-item,
    .hero-content .btn.reveal-item,
    .hero-scroll.reveal-item {
        opacity: 0;
        transform: translateY(32px);
        animation: heroReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
    
    .hero-subtitle.reveal-item { animation-delay: 0.15s; }
    .hero-content .btn.reveal-item { animation-delay: 0.3s; }
    .hero-scroll.reveal-item { animation-delay: 0.6s; }
    
    @keyframes heroReveal {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Hero background subtle zoom */
    .hero-bg-zoom {
        animation: heroBgZoom 20s ease-out forwards;
    }
    
    @keyframes heroBgZoom {
        from { transform: scale(1.05); }
        to { transform: scale(1); }
    }
    
    /* Scroll reveal - sections */
    .reveal-section .reveal-item,
    .reveal-section .stagger-children > * {
        opacity: 0;
        transform: translateY(36px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    
    .reveal-section.is-visible .reveal-item,
    .reveal-section.is-visible .stagger-children > * {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Stagger delays */
    .reveal-section.is-visible .stagger-children > *:nth-child(1) { transition-delay: 0s; }
    .reveal-section.is-visible .stagger-children > *:nth-child(2) { transition-delay: 0.08s; }
    .reveal-section.is-visible .stagger-children > *:nth-child(3) { transition-delay: 0.16s; }
    .reveal-section.is-visible .stagger-children > *:nth-child(4) { transition-delay: 0.24s; }
    .reveal-section.is-visible .stagger-children > *:nth-child(5) { transition-delay: 0.32s; }
    .reveal-section.is-visible .stagger-children > *:nth-child(6) { transition-delay: 0.4s; }
    
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .hero-bg-zoom,
    .reveal-section .reveal-item,
    .reveal-section .stagger-children > * {
        animation: none !important;
        transition: none !important;
    }
    
    .reveal-section .reveal-item,
    .reveal-section .stagger-children > * {
        opacity: 1;
        transform: none;
    }
}

/* Legacy fade-in (for other pages) */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
