img { max-width: 100%; height: auto; display: block; }

/* === CSS RESET & BASE === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Supreme', system-ui, sans-serif;
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    color: var(--text);
    background: var(--bg);
}
img, video { max-width: 100%; height: auto; display: block; border-radius: var(--radius-md); object-fit: cover; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

/* === PREMIUM TOKENS === */
:root {
  --bg: #0f1a0f; /* Emerald Jewel Tone Dark */
  --bg-alt: #1a0f1a; /* Sapphire Jewel Tone Dark */
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #10b981; /* Emerald accent */
  --accent-alt: #8b5cf6; /* Sapphire accent */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-glass: 0 8px 32px 0 rgba(0,0,0,0.3);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --container-width: 1200px;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Zodiak', serif;
    font-weight: 700;
    line-height: 1.2;
}

/* === LAYOUT SCHEME: Centered Floating Content === */
.page-wrapper {
    max-width: var(--container-width);
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-left: 1px solid var(--glass-border);
    border-right: 1px solid var(--glass-border);
    position: relative;
    box-shadow: 0 0 100px rgba(0,0,0,0.5);
    min-height: 100vh;
}

/* === NAVIGATION: Split Header + Floating Pill === */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background: rgba(0,0,0,0.2);
    font-size: 0.85rem;
    border-bottom: 1px solid var(--glass-border);
}

.top-bar .contacts { display: flex; gap: 20px; }
.top-bar .socials { display: flex; gap: 15px; }

.main-header {
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 26, 15, 0.9);
    backdrop-filter: blur(10px);
}

.logo {
    font-family: 'Zodiak', serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--accent);
}

.nav-pill {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 8px 24px;
    border-radius: 999px;
    display: flex;
    gap: 20px;
    z-index: 1001;
    box-shadow: var(--shadow-glass);
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 4px 12px;
    border-radius: 20px;
}

.nav-link.active, .nav-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.1);
}

/* === HERO: Split Hero === */
.hero-section {
    display: flex;
    align-items: center;
    padding: 80px 5%;
    min-height: 80vh;
    gap: 40px;
}

.hero-content {
    flex: 0 0 55%;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-glass);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 24px;
    color: var(--text);
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 90%;
}

/* === SECTIONS & DIVIDERS === */
section {
    padding: 70px 5%;
    position: relative;
    overflow: hidden;
}

.section-bg-emerald { background-color: #0f1a0f; }
.section-bg-sapphire { background-color: #1a0f1a; }
.section-bg-onyx { background-color: #050505; }

.wave-divider {
    position: absolute;
    width: 100%;
    left: 0;
    line-height: 0;
    z-index: 2;
}

.wave-top { top: -1px; transform: rotate(180deg); }
.wave-bottom { bottom: -1px; }

.wave-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* === STATS SECTION === */
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* === OVERLAPPING ELEMENTS STRATEGY === */
.overlap-container {
    position: relative;
    padding-top: 40px;
}

.overlap-image {
    width: 70%;
    margin-left: auto;
    border-radius: var(--radius-lg);
}

.overlap-text {
    position: absolute;
    top: 100px;
    left: 0;
    width: 45%;
    background: var(--bg-alt);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glass);
    z-index: 5;
}

/* === GRID / CARD ALIGNMENT === */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    flex: 0 1 340px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* === INTERACTIVE FILTER WIDGET === */
.filter-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 24px;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
}

.sort-select {
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--glass-bg);
    color: var(--text);
    border: 1px solid var(--glass-border);
    margin-left: 20px;
}

.filterable-item {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.filterable-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    display: none;
}

/* === PROCESS STEPS === */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* === TESTIMONIALS === */
.testimonial-section {
    text-align: center;
    padding: 100px 5%;
}

.quote-mark {
    font-size: 5rem;
    color: var(--accent);
    font-family: serif;
    display: block;
    line-height: 1;
    margin-bottom: -20px;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.8rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 30px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.testimonial-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent);
}

/* === BLOG PREVIEW === */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.blog-card {
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.blog-card-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 24px;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* === FOOTER: Map + Info === */
footer {
    background: #050505;
    padding: 80px 5% 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-map-container {
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.footer-info-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 {
    margin-bottom: 24px;
    color: var(--accent);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: var(--text-muted); }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* === UI ELEMENTS === */
.btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -10px var(--accent);
    filter: brightness(1.1);
}

.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    padding: 15px 30px;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
}

.floating-cta.visible {
    opacity: 1;
    visibility: visible;
}

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

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

/* === BREADCRUMBS === */
.breadcrumbs {
    padding: 20px 5%;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumbs a { color: var(--accent); margin: 0 8px; }
.breadcrumbs span { margin: 0 8px; }

/* === INNER PAGE EXTRAS === */
.image-gallery-strip {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 40px 0;
    scrollbar-width: none;
}

.image-gallery-strip::-webkit-scrollbar { display: none; }

.image-gallery-strip img {
    flex: 0 0 300px;
    height: 200px;
    border-radius: var(--radius-md);
}

/* === MOBILE === */
@media (max-width: 768px) {
    .page-wrapper { border: none; }
    .hero-section { flex-direction: column; text-align: center; padding-top: 40px; }
    .hero-content { flex: 0 0 100%; }
    .hero-image { display: none; }
    .nav-pill { width: 90%; justify-content: center; gap: 10px; font-size: 0.8rem; }
    .overlap-text { position: relative; width: 100%; top: 0; margin-top: -30px; }
    .overlap-image { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-info-cols { grid-template-columns: 1fr 1fr; }
    .top-bar { flex-direction: column; gap: 10px; }
    .main-header { justify-content: center; }
    .logo { margin-bottom: 10px; }
    .hamburger { display: block; }
}

@media (min-width: 769px) {
    .hamburger { display: none; }
}
