/* Inter — ise-majutatud (Google Fonts asemel) */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/inter-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/inter-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/inter-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/inter-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/inter-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/inter-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/inter-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/inter-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/inter-800-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/inter-800-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* Team Old Dogs — Public Styles
   Tactical heritage · warm sand · dark olive · premium */

:root {
    --sand: #e8e0d0;
    --sand-light: #f2ece0;
    --sand-dark: #d4c9b5;
    --olive: #3d4a2c;
    --olive-dark: #2a3320;
    --olive-light: #5a6b42;
    --accent: #6b7f4e;
    --accent-hover: #556339;
    --charcoal: #2c2c2c;
    --charcoal-light: #4a4a4a;
    --white: #fafaf8;
    --border: rgba(61, 74, 44, 0.15);
    --shadow: 0 4px 24px rgba(42, 51, 32, 0.08);
    --shadow-lg: 0 8px 40px rgba(42, 51, 32, 0.12);
    --radius: 6px;
    --radius-lg: 12px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter', var(--font-sans);
    --transition: 0.25s ease;
    --header-h: 72px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-sans);
    background: var(--sand);
    color: var(--charcoal);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---- HEADER ---- */
.site-header {
    background: var(--olive-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 1rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    flex-shrink: 0;
}
.logo-link:hover { color: var(--white); opacity: 0.9; }
.logo-img { height: 44px; width: auto; border-radius: 4px; }
.logo-text {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
}
.logo-sub {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.65;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
    color: rgba(255,255,255,0.82);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}

/* ---- HERO ---- */
.hero {
    position: relative;
    min-height: min(620px, 72vh);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--olive-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--olive-dark) 0%, var(--olive) 55%, var(--olive-dark) 100%);
    opacity: 1;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(107,127,78,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(107,127,78,0.06) 0%, transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.hero-copy {
    max-width: 650px;
}

.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.hero-visual img {
    display: block;
    width: clamp(280px, 32vw, 400px);
    height: auto;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 1.25rem;
    box-shadow: 0 24px 60px rgba(20,25,15,0.3);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255,255,255,0.75);
    font-weight: 400;
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
}

.hero-desc {
    color: rgba(255,255,255,0.6);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.hero-actions .btn-outline {
    padding: 0.35rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255,255,255,0.72);
}

.hero-actions .btn-outline:hover {
    background: transparent;
    color: var(--white);
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    line-height: 1.4;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent-hover);
    color: var(--white);
    border-color: var(--accent-hover);
}
.btn-primary:hover {
    background: var(--olive);
    border-color: var(--olive);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
}

.btn-dark {
    background: var(--olive-dark);
    color: var(--white);
    border-color: var(--olive-dark);
}
.btn-dark:hover {
    background: var(--olive);
    border-color: var(--olive);
    color: var(--white);
}

.btn-sand {
    background: var(--sand);
    color: var(--olive-dark);
    border-color: var(--sand-dark);
}
.btn-sand:hover {
    background: var(--sand-light);
    color: var(--olive-dark);
}

/* ---- SECTIONS ---- */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--sand-light);
}

.section-dark {
    background: var(--olive-dark);
    color: rgba(255,255,255,0.85);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--olive);
    margin-bottom: 0.75rem;
}

.section-dark .section-label { color: var(--sand); opacity: 1; }

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--olive-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-header h2::after,
.feature-content h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 0.75rem;
    border-radius: 999px;
    background: var(--accent);
}

.section-header h2::after { margin-left: auto; margin-right: auto; }

.section-dark .section-header h2 { color: var(--white); }

.section-header p {
    color: var(--charcoal-light);
    font-size: 1.05rem;
}

.section-dark .section-header p { color: rgba(255,255,255,0.6); }

/* ---- CARDS ---- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--border);
}

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

.card-image {
    aspect-ratio: 16/10;
    background: var(--sand-dark);
    overflow: hidden;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; }

.card-body { padding: 1.5rem; }

.card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--olive-dark);
    margin-bottom: 0.5rem;
}

.card-body p {
    color: var(--charcoal-light);
    font-size: 0.925rem;
    margin-bottom: 1rem;
}

.card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.card-link:hover { color: var(--accent-hover); }

/* ---- FEATURE BLOCKS ---- */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

.feature-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--olive-dark);
    margin-bottom: 0.5rem;
}

.feature-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--olive);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.feature-content p {
    color: var(--charcoal-light);
    margin-bottom: 1.5rem;
}

.feature-visual {
    aspect-ratio: 4/3;
    background: var(--olive-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.feature-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(61,74,44,0.3), transparent);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
}

/* ---- BLOG ---- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card .card-image { aspect-ratio: 16/9; }

.blog-meta {
    font-size: 0.8rem;
    color: var(--charcoal-light);
    margin-bottom: 0.5rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.blog-category {
    background: var(--sand);
    color: var(--olive);
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.75rem;
}

/* ---- GALLERY ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: var(--sand-dark);
    box-shadow: 0 2px 12px rgba(42, 51, 32, 0.06);
    transition: background var(--transition), box-shadow var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(42,51,32,0.85));
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover {
    background: var(--sand-light);
    box-shadow: var(--shadow-lg);
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ---- CONTACT ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--olive-dark);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    background: var(--olive-dark);
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.contact-item-text strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--charcoal-light);
    margin-bottom: 0.15rem;
}

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

.social-heading {
    margin-top: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--olive-dark);
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}
.social-link:hover { background: var(--accent); color: var(--white); }
.social-link svg { width: 20px; height: 20px; fill: currentColor; }

/* ---- FORMS ---- */
.form-group { margin-bottom: 1.25rem; }

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--olive-dark);
    margin-bottom: 0.4rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.925rem;
    background: var(--white);
    color: var(--charcoal);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:not([type="file"]),
.form-select {
    min-height: 44px;
    line-height: 1.4;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.75rem;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--olive-dark) 50%),
        linear-gradient(135deg, var(--olive-dark) 50%, transparent 50%);
    background-position:
        calc(100% - 1.15rem) 50%,
        calc(100% - 0.85rem) 50%;
    background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
    background-repeat: no-repeat;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(107,127,78,0.15);
}

.form-textarea { min-height: 140px; resize: vertical; }

.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

/* ---- ALERTS ---- */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.alert-success {
    background: #e8f0e0;
    color: #3d4a2c;
    border: 1px solid #c5d4b5;
}

.alert-error {
    background: #f5e6e6;
    color: #6b2c2c;
    border: 1px solid #ddb8b8;
}

/* ---- PAGE CONTENT ---- */
.page-header {
    background: var(--olive-dark);
    padding: 4rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-content {
    padding: 3rem 0 5rem;
    max-width: 800px;
    margin: 0 auto;
}

.page-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--olive-dark);
    margin: 2rem 0 1rem;
}

.page-content p { margin-bottom: 1rem; color: var(--charcoal-light); }
.page-content ul, .page-content ol { margin: 1rem 0 1rem 1.5rem; color: var(--charcoal-light); }

/* ---- PAGINATION ---- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid var(--border);
    color: var(--charcoal);
    background: var(--white);
    transition: all var(--transition);
}

.pagination a:hover {
    background: var(--olive-dark);
    color: var(--white);
    border-color: var(--olive-dark);
}

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

/* ---- FOOTER ---- */
.site-footer {
    background: var(--olive-dark);
    color: rgba(255,255,255,0.65);
    padding: 3.5rem 0 2rem;
}

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

.footer-brand .logo-link { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; max-width: 320px; }

.footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
}
.footer-bottom a {
    color: rgba(255,255,255,0.85);
    text-decoration: underline;
}
.footer-bottom a:hover { color: var(--white); }

/* ---- LIGHTBOX ---- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.lightbox.active { display: flex; }
.lightbox img { max-height: 90vh; max-width: 90vw; object-fit: contain; border-radius: var(--radius); }
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition);
}
.lightbox-close:hover { opacity: 1; }

/* ---- SCROLL REVEAL ---- */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.65s ease,
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.reveal-delay {
    transition-delay: 0.12s;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1050px) {
    .nav-toggle {
        display: block;
        flex-shrink: 0;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
        background: var(--olive-dark);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        box-shadow: var(--shadow-lg);
    }

    .main-nav.open { display: flex; }
    .main-nav a {
        width: 100%;
        padding: 0.75rem 1rem;
        white-space: normal;
    }
}

@media (max-width: 900px) {
    .hero-content { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .feature-block { grid-template-columns: 1fr; gap: 2rem; }
    .feature-block.reverse { direction: ltr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .form-input,
    .form-select,
    .form-textarea { font-size: 16px; }

    .hero {
        min-height: auto;
        align-items: flex-start;
    }

    .hero-bg {
        background: linear-gradient(135deg, var(--olive-dark), var(--olive));
        opacity: 1;
    }

    .hero-pattern { opacity: 0.35; }
    .hero-content { padding: 3.25rem 1.25rem 3.5rem; }
    .hero h1 { font-size: clamp(2.25rem, 11vw, 3.25rem); }
    .hero-tagline { margin-bottom: 1rem; }
    .hero-desc { display: none; }
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .hero-actions .btn-primary { min-width: 180px; justify-content: center; }
    .hero-actions .btn-outline {
        padding: 0.35rem 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: rgba(255,255,255,0.72);
    }

    .section { padding: 3.5rem 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-actions .btn-primary { width: 100%; }
}

@media (min-width: 650px) and (max-width: 1050px) and (max-height: 520px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        align-items: flex-start;
    }

    .hero-bg {
        background: linear-gradient(110deg, var(--olive-dark), var(--olive));
        opacity: 1;
    }

    .hero-pattern { opacity: 0.2; }
    .hero-content {
        grid-template-columns: minmax(0, 1fr) 160px;
        gap: 2rem;
        padding: 1.75rem 1.25rem 2rem;
    }
    .hero-visual { display: flex; }
    .hero-visual img {
        width: 160px;
        border-radius: 0.85rem;
        box-shadow: 0 14px 36px rgba(20,25,15,0.26);
    }
    .hero-desc { display: none; }
    .hero h1 {
        font-size: clamp(2rem, 7vw, 2.75rem);
        margin-bottom: 0.5rem;
    }
    .hero-tagline {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    .hero-actions {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
    .hero-actions .btn-primary {
        min-width: 0;
        width: auto;
        padding: 0.6rem 1.25rem;
    }
    .hero-actions .btn-outline {
        padding: 0.35rem 0;
        border: 0;
        background: transparent;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .reveal,
    .reveal.reveal-delay {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
