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

/* === CSS RESET & BASE === */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Sage Garden Palette */
  --bg: #f5f7f2;
  --text: #1a1a2e;
  --text-muted: #4a5d4e;
  --accent: #8fa886; /* Sage Green */
  --accent-dark: #2d3b2d; /* Forest Text */
  --accent-light: #e1e8dc;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-glass: 0 8px 32px 0 rgba(143, 168, 134, 0.15);
  --shadow-hover: 0 12px 24px -8px rgba(0, 0, 0, 0.15);

  /* Fonts */
  --font-heading: 'Clash Grotesk', sans-serif;
  --font-body: 'Archivo', sans-serif;
}

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

/* === ANIMATED MESH GRADIENT BACKGROUND === */
.mesh-gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--bg);
    background-image:
        radial-gradient(at 0% 0%, hsla(85, 25%, 85%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(110, 15%, 90%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(40, 20%, 90%, 1) 0, transparent 50%),
        radial-gradient(at 0% 100%, hsla(100, 20%, 88%, 1) 0, transparent 50%),
        radial-gradient(at 100% 100%, hsla(120, 15%, 92%, 1) 0, transparent 50%);
    filter: blur(80px);
    animation: meshShift 20s ease infinite alternate;
}

@keyframes meshShift {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* === STRUCTURAL BASELINES === */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; width: 100%; }

section {
    padding: 90px 0;
    position: relative;
}

.section-alt {
    background: linear-gradient(3deg, var(--accent-light) 0%, var(--bg) 100%);
}

/* === TOP MEGA-HEADER === */
.mega-header {
    background: var(--white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--accent-light);
}

.header-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
}

.brand-area {
    display: flex;
    flex-direction: column;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-dark);
    line-height: 1;
}

.tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.nav-search-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.header-meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.contact-info-top, .social-icons-top {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.search-bar {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.search-bar input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--accent-light);
    background: var(--bg);
    font-family: inherit;
}

.search-bar i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.main-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.main-nav a {
    font-weight: 600;
    color: var(--accent-dark);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--accent);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--accent-dark);
}

@media (max-width: 1024px) {
    .header-grid {
        grid-template-columns: 1fr auto;
    }
    .nav-search-block {
        display: none; /* Handled by mobile menu */
    }
    .mobile-toggle {
        display: block;
    }
    .header-meta {
        display: none;
    }
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--white);
    z-index: 1000;
    padding: 4rem 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.mobile-nav-overlay.active {
    right: 0;
}

.mobile-nav-overlay .main-nav {
    flex-direction: column;
    gap: 2rem;
}

.close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
}

/* === BREADCRUMBS === */
.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--white);
    border-bottom: 1px solid var(--accent-light);
}

.breadcrumbs a {
    color: var(--accent);
}

.breadcrumbs span {
    margin: 0 10px;
}

/* === HERO STYLE: Minimal === */
.hero {
    padding: 120px 0;
    text-align: center;
    background: transparent;
}

.hero h1 {
    font-family: 'Playfair Display', serif; /* Massive serif as requested */
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    line-height: 1;
    color: var(--accent-dark);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: var(--text-muted);
}

/* === BUTTONS === */
.btn-primary {
    background: var(--accent-dark);
    color: #fff;
    padding: 1.2rem 3rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px var(--accent-dark);
}

/* === CARD-BASED UI === */
.card-masonry {
    columns: 3;
    column-gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    break-inside: avoid;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-glass);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--accent-dark);
}

.card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

@media (max-width: 1024px) {
    .card-masonry { columns: 2; }
}

@media (max-width: 768px) {
    .card-masonry { columns: 1; }
}

/* === OVERLAPPING LAYOUT === */
.overlap-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.overlap-img-wrapper {
    position: relative;
}

.overlap-img-wrapper img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
}

.overlap-text {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    margin-left: -100px;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .overlap-section { grid-template-columns: 1fr; gap: 2rem; }
    .overlap-text { margin-left: 0; margin-top: -50px; padding: 2rem; }
}

/* === LIVE FILTERING WIDGET === */
.filter-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--accent-light);
    background: var(--white);
    cursor: pointer;
    font-family: var(--font-heading);
    transition: all 0.3s;
}

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

.sort-select {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--accent-light);
    background: var(--white);
    font-family: var(--font-heading);
}

.grid-filterable {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

/* === TESTIMONIALS: Alternating === */
.testimonial-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.testimonial-row.reverse {
    flex-direction: row-reverse;
}

.testimonial-img {
    flex: 0 0 300px;
}

.testimonial-img img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid var(--white);
    box-shadow: var(--shadow-glass);
}

.testimonial-content {
    flex: 1;
}

.testimonial-content blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--accent-dark);
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content blockquote::before {
    content: '“';
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: -40px;
    opacity: 0.2;
}

.testimonial-author {
    font-weight: 700;
    font-family: var(--font-heading);
}

@media (max-width: 768px) {
    .testimonial-row, .testimonial-row.reverse { flex-direction: column; text-align: center; gap: 2rem; }
}

/* === PROCESS / HOW IT WORKS === */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.process-grid::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: dashed var(--accent-light);
    z-index: 1;
}

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

.process-number {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .process-grid { grid-template-columns: 1fr; }
    .process-grid::after { display: none; }
}

/* === VIDEO SECTION === */
.video-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-glass);
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.play-overlay:hover {
    background: rgba(0,0,0,0.4);
}

.play-btn {
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    font-size: 2.5rem;
    transition: transform 0.3s;
}

.play-overlay:hover .play-btn {
    transform: scale(1.1);
}

/* === STATS SECTION === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h4 {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: var(--accent-dark);
    margin-bottom: 0.5rem;
}

.stat-item p {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* === SVG WAVE DIVIDER === */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.wave-divider .shape-fill {
    fill: var(--accent-light);
}

/* === MEGA FOOTER === */
.mega-footer {
    background: var(--white);
    padding: 80px 0 20px;
    border-top: 1px solid var(--accent-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h5 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-dark);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--accent);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--accent-light);
    border-radius: var(--radius-sm);
    background: var(--bg);
}

.footer-awards {
    border-top: 1px solid var(--accent-light);
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 4rem;
    opacity: 0.5;
}

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

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-col:last-child { grid-column: span 2; }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-col:last-child { grid-column: span 1; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* === INNER PAGES: FAQ ACCORDION === */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-family: var(--font-heading);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active i {
    transform: rotate(180deg);
}

/* === FORM STYLES === */
.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--accent-light);
    background: var(--white);
    font-family: inherit;
}

/* === UTILS === */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }
.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--accent-dark);
}

/* Auto-fix: prevent default blue/purple browser links */
a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: currentColor; }
