/* ============================================
   OREANA - Modern Site Styles
   Palette preserved from original 2015 site:
   - Primary red: #9b3234
   - Accent grey: #cccccc / #c0c0c0
   - Text: #545252
   ============================================ */

:root {
    --primary: #9b3234;
    --primary-dark: #7a2224;
    --primary-light: #b74547;
    --accent: #c9a961;
    --grey-100: #f7f7f7;
    --grey-200: #e5e5e5;
    --grey-300: #cccccc;
    --grey-400: #999999;
    --grey-500: #757475;
    --grey-600: #545252;
    --grey-700: #333333;
    --grey-800: #222222;
    --white: #ffffff;
    --black: #0a0a0a;
    --success: #2e8b57;
    --error: #c0392b;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
    --shadow-md: 0 8px 24px rgba(0,0,0,.12);
    --shadow-lg: 0 16px 40px rgba(0,0,0,.16);
    --radius: 6px;
    --radius-lg: 14px;
    --transition: 300ms cubic-bezier(.4,0,.2,1);
    --header-h: 92px;
    --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Playfair Display', 'Georgia', serif;
}

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

html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--grey-600);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    color: var(--grey-800);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); margin-bottom: .75em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: .75em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); margin-bottom: .5em; }
h4 { font-size: 1.25rem; margin-bottom: .5em; }
h5 { font-size: 1.1rem; margin-bottom: .5em; }
p { margin-bottom: 1em; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* ------ BUTTONS ------ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 30px;
    font-family: var(--font-body);
    font-size: .95rem; font-weight: 600;
    letter-spacing: 0.05em; text-transform: uppercase;
    border: 2px solid var(--primary);
    background: var(--primary);
    color: var(--white);
    cursor: pointer;
    border-radius: var(--radius);
    transition: all var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--primary-dark);
    transition: transform var(--transition);
    z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover { color: var(--white); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:hover::before { left: 0; }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline::before { background: var(--primary); }
.btn-outline:hover { color: var(--white); }
.btn-light { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-light::before { background: var(--grey-100); }
.btn-light:hover { color: var(--primary-dark); }
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ------ HEADER ------ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: box-shadow var(--transition), border-color var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--grey-200); }
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: var(--header-h); padding: 12px 0;
}
.site-logo { display: flex; align-items: center; gap: 12px; }
.site-logo img { height: 54px; width: auto; }
.brand-mark {
    font-family: var(--font-heading);
    font-size: 1.8rem; font-weight: 700; color: var(--primary);
    letter-spacing: .06em;
    line-height: 1;
}
.brand-tag {
    font-size: .7rem; text-transform: uppercase; letter-spacing: .25em;
    color: var(--grey-500); font-weight: 500;
}

.nav-main { display: flex; align-items: center; gap: 4px; }
.nav-main > li { position: relative; }
.nav-main > li > a {
    display: block; padding: 12px 16px;
    font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
    color: var(--grey-700);
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
}
.nav-main > li > a:hover, .nav-main > li.active > a { color: var(--primary); background: rgba(155,50,52,.06); }
.nav-main .caret { display: inline-block; margin-left: 4px; font-size: .6rem; opacity: .6; }

.submenu {
    position: absolute; top: 100%; left: 0;
    min-width: 240px;
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius);
    padding: 8px 0;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s, visibility .25s, transform .25s;
    border-top: 3px solid var(--primary);
}
.nav-main > li:hover > .submenu,
.nav-main > li:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li a {
    display: block; padding: 10px 20px;
    font-size: .88rem; color: var(--grey-700); font-weight: 500;
    transition: background var(--transition), color var(--transition), padding-left var(--transition);
}
.submenu li a:hover { background: var(--grey-100); color: var(--primary); padding-left: 28px; }

.nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    padding: 10px;
    color: var(--grey-700);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ------ HERO ------ */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex; align-items: center;
    padding-top: var(--header-h);
    color: var(--white);
    overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; z-index: 1; }
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.05);
}
.hero-slide.active { opacity: 1; animation: heroZoom 8s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.15); } }
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(135deg, rgba(10,10,10,.72) 0%, rgba(155,50,52,.45) 55%, rgba(10,10,10,.5) 100%);
}
.hero-content {
    position: relative; z-index: 3;
    max-width: 720px;
}
.hero-eyebrow {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 100px;
    font-size: .78rem; letter-spacing: .3em; text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
    opacity: 0; transform: translateY(20px);
    animation: fadeUp 1s .3s forwards;
}
.hero h1 {
    color: var(--white);
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.1;
    margin-bottom: 24px;
    opacity: 0; transform: translateY(20px);
    animation: fadeUp 1s .5s forwards;
}
.hero h1 span { color: var(--accent); font-style: italic; }
.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,.85);
    margin-bottom: 32px; max-width: 600px;
    opacity: 0; transform: translateY(20px);
    animation: fadeUp 1s .7s forwards;
}
.hero-actions {
    display: flex; gap: 16px; flex-wrap: wrap;
    opacity: 0; transform: translateY(20px);
    animation: fadeUp 1s .9s forwards;
}
.hero-dots {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    z-index: 4;
    display: flex; gap: 10px;
}
.hero-dot {
    width: 40px; height: 4px;
    background: rgba(255,255,255,.35);
    cursor: pointer; border-radius: 2px;
    transition: background var(--transition);
}
.hero-dot.active { background: var(--accent); }
.hero-scroll {
    position: absolute; bottom: 30px; right: 40px; z-index: 4;
    color: rgba(255,255,255,.65);
    font-size: .75rem; letter-spacing: .3em; text-transform: uppercase;
    writing-mode: vertical-rl;
    animation: scrollHint 2s infinite;
}
@keyframes scrollHint { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ------ PAGE HEADER (inner pages) ------ */
.page-hero {
    padding: calc(var(--header-h) + 60px) 0 60px;
    background:
        linear-gradient(135deg, rgba(10,10,10,.72), rgba(155,50,52,.55)),
        url('../images/hero-3.jpg') center/cover;
    color: var(--white);
    text-align: center;
    position: relative;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.85); margin: 0; }
.breadcrumbs {
    display: flex; justify-content: center; gap: 8px;
    margin-top: 20px;
    font-size: .85rem;
    color: rgba(255,255,255,.7);
}
.breadcrumbs a { color: var(--accent); }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs .sep { color: rgba(255,255,255,.4); }

/* ------ SECTIONS ------ */
section { padding: 88px 0; }
.section-tight { padding: 60px 0; }
.section-eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: .8rem; letter-spacing: .3em; text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 12px;
}
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { margin-bottom: 12px; }
.section-title p { max-width: 640px; margin: 0 auto; color: var(--grey-500); }
.section-title::after {
    content: ''; display: block;
    width: 60px; height: 3px; background: var(--primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

.bg-light { background: var(--grey-100); }
.bg-dark { background: var(--grey-800); color: rgba(255,255,255,.85); }
.bg-dark h1,.bg-dark h2,.bg-dark h3,.bg-dark h4,.bg-dark h5,.bg-dark h6 { color: var(--white); }

/* ------ CARDS / GRIDS ------ */
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-media { overflow: hidden; position: relative; aspect-ratio: 4 / 3; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms ease; }
.card:hover .card-media img { transform: scale(1.08); }
.card-media::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.5), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
}
.card:hover .card-media::after { opacity: 1; }
.card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 12px; }
.card-body h3 a { color: var(--grey-800); }
.card-body h3 a:hover { color: var(--primary); }
.card-tag {
    display: inline-block;
    background: rgba(155,50,52,.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600;
    margin-bottom: 12px;
}
.card-meta { display: flex; gap: 16px; font-size: .82rem; color: var(--grey-500); margin-top: 12px; }
.card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.card-link {
    margin-top: auto; padding-top: 16px;
    font-weight: 600; font-size: .9rem;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--primary);
    display: inline-flex; align-items: center; gap: 6px;
}
.card-link .arrow { transition: transform var(--transition); }
.card-link:hover .arrow { transform: translateX(4px); }

/* ------ FEATURES / ICON BOXES ------ */
.feature {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 12px 24px rgba(155,50,52,.24);
    transition: transform var(--transition);
}
.feature:hover .feature-icon { transform: rotate(-8deg) scale(1.08); }
.feature-icon svg { width: 32px; height: 32px; }
.feature h3 { margin-bottom: 12px; font-size: 1.2rem; }
.feature p { color: var(--grey-500); font-size: .95rem; margin: 0; }

/* ------ STATS ------ */
.stats-row {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
    text-align: center;
}
@media (max-width: 700px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 20px; }
.stat-num {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4.5vw, 3.5rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}
.stat-label { font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grey-500); }

/* ------ ABOUT SPLIT ------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* ------ CTA STRIP ------ */
.cta-strip {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(10,10,10,.7), rgba(155,50,52,.7)), url('../images/cta-bg.jpg') center/cover fixed;
    color: var(--white);
    text-align: center;
}
.cta-strip h2 { color: var(--white); }
.cta-strip p { max-width: 600px; margin: 0 auto 32px; color: rgba(255,255,255,.85); }

/* ------ GALLERY ------ */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius);
    position: relative;
    cursor: pointer;
    background: var(--grey-200);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(155,50,52,.75), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery-item::before {
    content: '+';
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 3rem; font-weight: 300;
    z-index: 2;
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery-item:hover::after, .gallery-item:hover::before { opacity: 1; }

.gallery-filter {
    text-align: center;
    margin-bottom: 40px;
    display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.filter-btn {
    padding: 10px 22px;
    background: transparent;
    border: 1.5px solid var(--grey-300);
    border-radius: 100px;
    color: var(--grey-600);
    font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ------ LIGHTBOX ------ */
.lightbox {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.9);
    z-index: 10000;
    display: none;
    align-items: center; justify-content: center;
    padding: 40px;
    animation: fadeIn .3s;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-close {
    position: absolute; top: 20px; right: 30px;
    background: none; border: none; color: var(--white);
    font-size: 2.5rem; cursor: pointer; line-height: 1;
}
.lightbox-prev, .lightbox-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.15); border: none; color: var(--white);
    width: 54px; height: 54px; border-radius: 50%;
    font-size: 1.6rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition);
}
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--primary); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ------ TESTIMONIALS ------ */
.testimonial-track { overflow: hidden; position: relative; }
.testimonial-slide {
    text-align: center; max-width: 780px; margin: 0 auto;
    padding: 20px;
}
.testimonial-slide blockquote {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--grey-700);
    margin: 0 0 24px;
    position: relative;
}
.testimonial-slide blockquote::before {
    content: '“';
    font-size: 5rem; color: var(--primary);
    position: absolute; top: -20px; left: -20px;
    line-height: 1; opacity: .3;
}
.testimonial-author { font-weight: 600; color: var(--grey-800); margin-bottom: 4px; }
.testimonial-role { font-size: .85rem; color: var(--grey-500); }

/* ------ BLOG POST ------ */
.post-hero { padding: calc(var(--header-h) + 40px) 0 40px; background: var(--grey-100); }
.post-hero-meta { color: var(--grey-500); font-size: .9rem; margin-bottom: 16px; }
.post-hero h1 { color: var(--grey-800); margin-bottom: 16px; }
.post-hero-lead { font-size: 1.15rem; color: var(--grey-500); max-width: 780px; }
.post-cover { max-width: 1240px; margin: 0 auto 40px; padding: 0 24px; }
.post-cover img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.post-content { max-width: 780px; margin: 0 auto; padding: 20px 24px 60px; font-size: 1.05rem; line-height: 1.85; }
.post-content h2, .post-content h3 { margin-top: 1.8em; margin-bottom: .6em; color: var(--grey-800); }
.post-content p { margin-bottom: 1.2em; color: var(--grey-700); }
.post-content ul, .post-content ol { margin: 0 0 1.2em 1.5em; }
.post-content ul li, .post-content ol li { margin-bottom: .5em; color: var(--grey-700); }
.post-content blockquote {
    margin: 2em 0; padding: 24px 32px;
    background: var(--grey-100);
    border-left: 4px solid var(--primary);
    font-style: italic;
    color: var(--grey-700);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.post-content figure { margin: 2em 0; }
.post-content figure img { border-radius: var(--radius); }
.post-content figure figcaption { text-align: center; font-size: .88rem; color: var(--grey-500); margin-top: 8px; }
.post-share { display: flex; gap: 12px; align-items: center; padding: 24px 0; border-top: 1px solid var(--grey-200); margin-top: 40px; }
.post-share span { color: var(--grey-500); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.share-btn {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--grey-100);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--grey-600);
    transition: all var(--transition);
}
.share-btn:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }

/* ------ CONTACT FORM ------ */
.form-wrap {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 22px; }
.form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--grey-700);
    margin-bottom: 8px;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--grey-300);
    background: var(--white);
    color: var(--grey-800);
    font-family: inherit; font-size: 1rem;
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(155,50,52,.12);
}
textarea.form-control { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-error { display: block; color: var(--error); font-size: .82rem; margin-top: 6px; min-height: 18px; }
.form-control.error { border-color: var(--error); }
.form-control.valid { border-color: var(--success); }

.contact-info-block { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; margin-bottom: 60px; }
@media (max-width: 800px) { .contact-info-block { grid-template-columns: 1fr; } }
.contact-card {
    padding: 32px 24px;
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.contact-card .icon {
    width: 60px; height: 60px;
    background: rgba(155,50,52,.1);
    color: var(--primary);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.contact-card h4 { margin-bottom: 12px; }
.contact-card p { margin: 0; color: var(--grey-500); font-size: .95rem; }

/* ------ FAQ ------ */
.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--grey-200);
}
.faq-question {
    padding: 22px 28px;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    font-weight: 600; color: var(--grey-800);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    transition: color var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-question .arrow {
    width: 24px; height: 24px;
    background: var(--grey-100);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: transform var(--transition), background var(--transition);
    flex-shrink: 0;
}
.faq-item.open .faq-question .arrow { transform: rotate(180deg); background: var(--primary); color: var(--white); }
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 400ms ease;
    color: var(--grey-600);
}
.faq-answer > div { padding: 0 28px 24px; }

/* ------ SIDEBAR ------ */
.layout-with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 60px; }
@media (max-width: 900px) { .layout-with-sidebar { grid-template-columns: 1fr; } }
.sidebar-widget {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}
.sidebar-widget h4 { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); font-size: 1.1rem; }
.sidebar-widget ul li { padding: 8px 0; border-bottom: 1px dashed var(--grey-200); }
.sidebar-widget ul li:last-child { border-bottom: 0; }
.sidebar-widget ul li a { color: var(--grey-700); font-size: .92rem; display: flex; justify-content: space-between; align-items: center; }
.sidebar-widget ul li a:hover { color: var(--primary); }

/* ------ SPECS TABLE ------ */
.spec-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border-collapse: collapse;
}
.spec-table th, .spec-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--grey-200); }
.spec-table th { background: var(--grey-100); font-weight: 600; color: var(--grey-800); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.spec-table tr:last-child td { border-bottom: 0; }

/* ------ FOOTER ------ */
.site-footer {
    background: var(--grey-800);
    color: rgba(255,255,255,.7);
    padding: 72px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
    gap: 40px;
    margin-bottom: 48px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { color: var(--white); font-family: var(--font-heading); font-size: 2rem; font-weight: 700; margin-bottom: 16px; letter-spacing: .05em; }
.footer-brand span { color: var(--accent); }
.footer p { color: rgba(255,255,255,.6); font-size: .93rem; }
.footer h5 { color: var(--white); margin-bottom: 20px; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; }
.footer h5::after { content: ''; display: block; width: 40px; height: 2px; background: var(--primary); margin-top: 10px; }
.footer-nav a { display: block; padding: 6px 0; color: rgba(255,255,255,.65); font-size: .9rem; transition: color var(--transition), padding-left var(--transition); }
.footer-nav a:hover { color: var(--accent); padding-left: 8px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; color: rgba(255,255,255,.65); font-size: .9rem; }
.footer-contact .icon { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.newsletter-mini { display: flex; gap: 8px; margin-top: 12px; }
.newsletter-mini input {
    flex: 1;
    padding: 12px 14px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius);
    color: var(--white);
    font-size: .9rem;
}
.newsletter-mini input:focus { outline: none; border-color: var(--primary-light); background: rgba(255,255,255,.12); }
.newsletter-mini button {
    padding: 12px 20px;
    background: var(--primary);
    border: none;
    color: var(--white);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: .85rem; font-weight: 600;
    transition: background var(--transition);
}
.newsletter-mini button:hover { background: var(--primary-dark); }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.75);
    transition: background var(--transition), color var(--transition), transform var(--transition);
}
.social-links a:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 24px 0;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    font-size: .85rem;
    color: rgba(255,255,255,.5);
}
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--accent); }

/* ------ BACK TO TOP ------ */
.to-top {
    position: fixed; bottom: 24px; right: 24px;
    width: 46px; height: 46px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 900;
    box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition);
    border: none;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--primary-dark); transform: translateY(-4px); }

/* ------ ANIMATION ON SCROLL ------ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 800ms cubic-bezier(.4,0,.2,1), transform 800ms cubic-bezier(.4,0,.2,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-left { transform: translateX(-40px); }
.reveal-left.in-view { transform: translateX(0); }
.reveal-right { transform: translateX(40px); }
.reveal-right.in-view { transform: translateX(0); }
.reveal-scale { transform: scale(.92); }
.reveal-scale.in-view { transform: scale(1); }
.reveal-delay-1 { transition-delay: 150ms; }
.reveal-delay-2 { transition-delay: 300ms; }
.reveal-delay-3 { transition-delay: 450ms; }
.reveal-delay-4 { transition-delay: 600ms; }

/* ------ THANK YOU PAGE ------ */
.thankyou {
    min-height: 88vh;
    display: flex; align-items: center; justify-content: center;
    padding: var(--header-h) 24px 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--grey-100), var(--white));
}
.thankyou-inner { max-width: 600px; }
.thankyou-icon {
    width: 120px; height: 120px;
    background: linear-gradient(135deg, var(--success), #1e5f3e);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--white);
    margin-bottom: 24px;
    box-shadow: 0 24px 60px rgba(46,139,87,.35);
    animation: pop .8s cubic-bezier(.34,1.56,.64,1);
}
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }

/* ------ COOKIE BAR ------ */
.cookie-bar {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--grey-800);
    color: rgba(255,255,255,.8);
    padding: 20px 24px;
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    z-index: 950;
    transform: translateY(100%);
    transition: transform 500ms cubic-bezier(.4,0,.2,1);
    box-shadow: 0 -8px 24px rgba(0,0,0,.24);
    flex-wrap: wrap;
}
.cookie-bar.show { transform: translateY(0); }
.cookie-bar p { margin: 0; font-size: .9rem; flex: 1; min-width: 260px; }
.cookie-bar a { color: var(--accent); }
.cookie-bar .btn { padding: 10px 22px; font-size: .82rem; }

/* ------ MOBILE MENU ------ */
@media (max-width: 1024px) {
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .nav-main {
        position: fixed; top: 0; right: -100%;
        width: 300px; max-width: 85vw; height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 80px 20px 24px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
        overflow-y: auto;
    }
    .nav-main.open { right: 0; }
    .nav-main > li { width: 100%; }
    .nav-main > li > a { padding: 14px 12px; border-bottom: 1px solid var(--grey-200); border-radius: 0; }
    .submenu {
        position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none;
        border-top: 0; padding: 0;
        max-height: 0; overflow: hidden;
        transition: max-height 400ms ease;
    }
    .nav-main > li.expanded > .submenu { max-height: 600px; }
    .submenu li a { padding-left: 32px; font-size: .85rem; }
    .nav-close {
        position: absolute; top: 20px; right: 20px;
        background: none; border: none; cursor: pointer;
        color: var(--grey-700);
        padding: 8px;
    }
    .nav-close svg { width: 24px; height: 24px; }
    .backdrop {
        position: fixed; inset: 0; background: rgba(0,0,0,.5);
        z-index: 999;
        opacity: 0; visibility: hidden;
        transition: opacity var(--transition), visibility var(--transition);
    }
    .backdrop.show { opacity: 1; visibility: visible; }
}
.nav-close { display: none; }
@media (max-width: 1024px) { .nav-close { display: inline-flex; } }

/* ------ UTILITIES ------ */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 12px; }
.mb-2 { margin-bottom: 24px; }
.mb-3 { margin-bottom: 40px; }
.mt-3 { margin-top: 40px; }
.hidden { display: none !important; }

/* Print */
@media print {
    .site-header, .site-footer, .to-top, .cookie-bar { display: none; }
}

/* Skip link for accessibility */
.skip-link {
    position: absolute; top: -60px; left: 20px;
    padding: 12px 20px;
    background: var(--primary); color: var(--white);
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 10001;
    font-weight: 600;
    transition: top 300ms;
}
.skip-link:focus { top: 0; color: var(--white); }

/* Product tabs */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--grey-200); margin-bottom: 32px; flex-wrap: wrap; }
.tab-btn {
    background: none; border: none;
    padding: 14px 24px;
    font-size: .95rem; font-weight: 600;
    color: var(--grey-500); cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color var(--transition), border-color var(--transition);
    font-family: inherit;
}
.tab-btn.active, .tab-btn:hover { color: var(--primary); border-color: var(--primary); }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn 400ms; }

/* Article/journal */
.article-list-item {
    display: grid; grid-template-columns: 320px 1fr; gap: 32px;
    padding: 32px 0;
    border-bottom: 1px solid var(--grey-200);
    align-items: center;
}
@media (max-width: 720px) { .article-list-item { grid-template-columns: 1fr; } }
.article-list-item img { border-radius: var(--radius); aspect-ratio: 16/10; object-fit: cover; }
.article-list-item h3 a { color: var(--grey-800); }
.article-list-item h3 a:hover { color: var(--primary); }

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
    max-width: 720px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute; left: 8px; top: 0; bottom: 0;
    width: 2px; background: var(--grey-200);
}
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item::before {
    content: '';
    position: absolute; left: -37px; top: 6px;
    width: 18px; height: 18px;
    background: var(--primary); border-radius: 50%;
    box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--primary);
}
.timeline-year { color: var(--primary); font-weight: 700; font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 4px; }
.timeline-item h4 { margin-bottom: 8px; }

/* Policy pages */
.policy-content { max-width: 860px; margin: 0 auto; padding: 60px 24px; }
.policy-content h2 { margin-top: 40px; }
.policy-content h3 { margin-top: 24px; }
.policy-content p, .policy-content li { color: var(--grey-700); }
.policy-content ul { margin: 0 0 20px 24px; }
.policy-toc {
    background: var(--grey-100);
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
    border-left: 4px solid var(--primary);
}
.policy-toc h4 { margin-bottom: 12px; }
.policy-toc ol { margin: 0 0 0 24px; color: var(--grey-700); }
.policy-toc li a { color: var(--grey-700); }
.policy-toc li a:hover { color: var(--primary); }

/* Product hero */
.product-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 60px; }
@media (max-width: 800px) { .product-showcase { grid-template-columns: 1fr; } }
.product-showcase img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.product-tags span {
    background: var(--grey-100); color: var(--grey-700);
    padding: 6px 14px; border-radius: 100px; font-size: .8rem; font-weight: 500;
}

/* Service card */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex; flex-direction: column;
    position: relative;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-media { aspect-ratio: 3/2; overflow: hidden; position: relative; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms; }
.service-card:hover .service-card-media img { transform: scale(1.08); }
.service-card-body { padding: 28px; flex: 1; }
.service-num {
    position: absolute; top: 20px; left: 20px; z-index: 2;
    background: var(--primary); color: var(--white);
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-family: var(--font-heading);
}
.service-card h3 { margin-bottom: 10px; }
.service-card ul { margin-top: 12px; }
.service-card ul li { position: relative; padding-left: 20px; margin-bottom: 6px; font-size: .92rem; }
.service-card ul li::before {
    content: '';
    position: absolute; left: 0; top: 10px;
    width: 8px; height: 8px;
    background: var(--primary); border-radius: 50%;
}

/* Consent checkbox */
.consent-row { display: flex; align-items: flex-start; gap: 10px; }
.consent-row input { margin-top: 4px; accent-color: var(--primary); }
.consent-row label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .88rem; color: var(--grey-600); }
