@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #526E35;
    --primary-rgb: 82, 110, 53;
    --secondary-color: #788A66;
    --secondary-rgb: 120, 138, 102;
    --accent-color: #91C360;
    --accent-rgb: 145, 195, 96;
    --bg-color: #FAFAF8;
    --bg-alt: #F2F0ED;
    --text-color: #1C1917;
    --text-muted: #57534E;
    --section-dark: #1C1917;
    --section-accent: #F5F0EB;
    --border-color: #d6d3d1;
    --white: #ffffff;
    --font-primary: 'Ubuntu', system-ui, -apple-system, sans-serif;
    --font-secondary: system-ui, -apple-system, sans-serif;
    --max-width: 1200px;
    --gutter: 1.5rem;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-18px);
    }
}

@keyframes subtlePulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

h6 {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: calc(var(--gutter) * -0.5);
    margin-right: calc(var(--gutter) * -0.5);
}

.row > * {
    padding-left: calc(var(--gutter) * 0.5);
    padding-right: calc(var(--gutter) * 0.5);
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    min-height: 68px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.logo:hover {
    color: var(--primary-color);
}

.logo img {
    height: 36px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: block;
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: color 0.3s ease, background-color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(82, 110, 53, 0.06);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    z-index: 1001;
}

main {
    padding-top: 68px;
}

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3d5227 60%, var(--section-dark) 100%);
    color: var(--white);
    overflow: hidden;
    padding: 4rem 1.5rem;
}

.hero::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(145, 195, 96, 0.18) 0%, transparent 70%);
    top: -100px;
    right: -80px;
    z-index: 0;
    animation: float 7s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(82, 110, 53, 0.15) 0%, transparent 70%);
    bottom: -60px;
    left: -60px;
    z-index: 0;
    animation: float 9s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero .btn {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.banner {
    position: relative;
    padding: 3rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #44592e 100%);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(145, 195, 96, 0.12) 0%, transparent 70%);
    top: -60px;
    right: -40px;
    animation: float 8s ease-in-out infinite;
}

.banner h1,
.banner h2 {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.banner p {
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 1;
}

.header-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 1.5rem;
    overflow: hidden;
}

.header-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.header-hero h1,
.header-hero h2 {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.header-hero p {
    color: rgba(255, 255, 255, 0.88);
    position: relative;
    z-index: 1;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.4;
}

.btn-primary {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    color: var(--primary-color);
    background: linear-gradient(to right, var(--primary-color) 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: right;
    transition: background-position 0.35s ease, color 0.35s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    line-height: 1.4;
}

.btn-primary:hover {
    background-position: left;
    color: var(--white);
    box-shadow: 0 4px 16px rgba(82, 110, 53, 0.25);
}

.btn-secondary {
    color: var(--primary-color);
    background: transparent;
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-outline {
    color: var(--white);
    background: transparent;
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--section-dark);
    border-color: var(--accent-color);
}

.btn-accent:hover {
    background-color: #7fb34e;
    border-color: #7fb34e;
    box-shadow: 0 4px 16px rgba(145, 195, 96, 0.3);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
}

.content-section {
    padding: 4rem 0;
}

.content-section:nth-child(even) {
    background-color: var(--bg-alt);
}

.block {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.block:last-child {
    border-bottom: none;
}

.section-dark {
    background-color: var(--section-dark);
    color: var(--white);
    padding: 4rem 0;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

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

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

.section-dark a:hover {
    color: #a9d47e;
}

.section-accent {
    background-color: var(--section-accent);
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-header-left {
    margin-bottom: 2rem;
}

.section-header-left h2 {
    position: relative;
    padding-left: 1rem;
}

.section-header-left h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-fade {
    position: relative;
}

.section-fade::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--bg-alt));
    pointer-events: none;
}

.section-fade::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, transparent, var(--bg-alt));
    pointer-events: none;
}

.section-divider {
    display: block;
    width: 100%;
    height: auto;
    margin: -1px 0;
    line-height: 0;
}

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

.section-divider.flip {
    transform: scaleY(-1);
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gutter);
}

.grid-2 > * {
    flex: 1 1 calc(50% - var(--gutter));
    min-width: 280px;
}

.grid-3 > * {
    flex: 1 1 calc(33.333% - var(--gutter));
    min-width: 260px;
}

.grid-4 > * {
    flex: 1 1 calc(25% - var(--gutter));
    min-width: 220px;
}

.columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.columns-2 > * {
    flex: 1 1 calc(50% - 1rem);
    min-width: 280px;
}

.columns-3 > * {
    flex: 1 1 calc(33.333% - 1.34rem);
    min-width: 240px;
}

.featured-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gutter);
}

.featured-grid .featured-item {
    flex: 1 1 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    background: var(--white);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.featured-grid .featured-item img {
    width: 100%;
    max-width: 320px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.featured-grid .grid-items {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gutter);
    flex: 1 1 100%;
}

.featured-grid .grid-items > * {
    flex: 1 1 calc(50% - var(--gutter));
    min-width: 240px;
}

.card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(82, 110, 53, 0.1), 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    transition: transform 0.4s ease;
    overflow: hidden;
}

.card:hover img {
    transform: scale(1.03);
}

.card h3 {
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.card-body {
    padding: 1.5rem;
}

.item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.item:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.feature {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(82, 110, 53, 0.08);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: rgba(82, 110, 53, 0.08);
    border-radius: var(--radius-md);
    color: var(--primary-color);
    font-size: 1.5rem;
}

.feature h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.timeline-item {
    display: flex;
    width: 100%;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: calc(50% + 2rem);
    text-align: right;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: calc(50% + 2rem);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0.5rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary-color);
    z-index: 1;
}

.timeline-content {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.timeline-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.two-col-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.two-col-layout > * {
    flex: 1 1 calc(50% - 1.5rem);
    min-width: 300px;
}

.two-col-layout img {
    border-radius: var(--radius-md);
    width: 100%;
    object-fit: cover;
}

.two-col-layout.reverse {
    flex-direction: row-reverse;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 3rem;
    color: var(--accent-color);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.5;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1rem;
    padding-top: 1rem;
}

.testimonial-author {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary-color);
}

.testimonial-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(82, 110, 53, 0.1);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 1rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.pricing-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.pricing-amount span {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.875rem;
    color: var(--text-muted);
    padding-left: 1.5rem;
    position: relative;
}

.pricing-card li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.team-card {
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    transition: box-shadow 0.3s ease;
}

.team-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--bg-alt);
}

.team-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.team-card .role {
    font-size: 0.75rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.team-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.contact-form {
    max-width: 640px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(82, 110, 53, 0.1);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.contact-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info-item {
    flex: 1 1 calc(33.333% - 1.34rem);
    min-width: 200px;
    text-align: center;
    padding: 1.5rem;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    display: block;
}

.contact-info-item h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.contact-info-item p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gutter);
}

.portfolio-item {
    flex: 1 1 calc(33.333% - var(--gutter));
    min-width: 260px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.portfolio-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: var(--radius-md);
}

.portfolio-item:hover img {
    transform: scale(1.06);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(28, 25, 23, 0.85));
    padding: 2rem 1.5rem 1.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-overlay h3 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
    margin-bottom: 0;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #3d5227);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
    margin: 0 auto 2rem;
}

.faq-section {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    background: var(--white);
    border: none;
    width: 100%;
    text-align: left;
    color: var(--text-color);
    font-family: var(--font-primary);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--bg-alt);
}

.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1rem;
    max-height: 300px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.news-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.news-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover img {
    transform: scale(1.04);
}

.news-card-body {
    padding: 1.5rem;
}

.news-card-body .date {
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.news-card-body h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.news-card-body p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 12px;
    background: rgba(82, 110, 53, 0.08);
    color: var(--primary-color);
}

.badge-accent {
    background: rgba(145, 195, 96, 0.15);
    color: #4a7d1e;
}

.divider {
    border: none;
    height: 1px;
    background: var(--border-color);
    margin: 2rem 0;
}

.divider-accent {
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    max-width: 80px;
    margin: 1.5rem auto;
}

.icon-circle {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(82, 110, 53, 0.08);
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.icon-circle-lg {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.breadcrumb {
    padding: 1rem 0;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    margin: 0 0.5rem;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.alert-success {
    background: rgba(145, 195, 96, 0.1);
    border-color: rgba(145, 195, 96, 0.3);
    color: #3d6b14;
}

.alert-info {
    background: rgba(82, 110, 53, 0.06);
    border-color: rgba(82, 110, 53, 0.2);
    color: var(--primary-color);
}

.list-check {
    list-style: none;
    padding: 0;
}

.list-check li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.list-check li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.125rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(82, 110, 53, 0.25);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(82, 110, 53, 0.35);
}

footer.footer-minimal {
    padding: 2rem;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

footer.footer-minimal .footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: var(--max-width);
    margin: 0 auto;
}

footer.footer-minimal .footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

footer.footer-minimal .footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

footer.footer-minimal .footer-links a:hover {
    color: var(--primary-color);
}

footer.footer-minimal p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

footer .footer-brand {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

footer .social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

footer .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(82, 110, 53, 0.08);
    color: var(--primary-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 0.875rem;
}

footer .social-icons a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 25, 23, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-in"] {
    transform: none;
}

[data-animate="fade-in"].visible {
    opacity: 1;
}

[data-animate="slide-left"] {
    transform: translateX(-30px);
}

[data-animate="slide-left"].visible {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="slide-right"] {
    transform: translateX(30px);
}

[data-animate="slide-right"].visible {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="scale-in"] {
    transform: scale(0.95);
}

[data-animate="scale-in"].visible {
    opacity: 1;
    transform: scale(1);
}

[data-stagger] > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

[data-stagger] > *.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(82, 110, 53, 0.08);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card-body {
    padding: 1.5rem;
}

.service-card-body h3 {
    margin-bottom: 0.5rem;
}

.service-card-body p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.insight-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: box-shadow 0.3s ease;
}

.insight-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.insight-card img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.insight-card h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.insight-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.insight-meta {
    font-size: 0.7rem;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.embed-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }

    [data-stagger] > * {
        opacity: 1;
        transform: none;
    }
}

@media screen and (max-width: 1024px) {
    .nav-menu {
        gap: 0;
    }

    .nav-link {
        padding: 0.5rem 0.625rem;
        font-size: 0.8125rem;
    }

    .timeline::before {
        left: 1.5rem;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 3.5rem;
        padding-right: 0;
        text-align: left;
        justify-content: flex-start;
    }

    .timeline-item::before {
        left: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.35s ease;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto;
        align-items: stretch;
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-link {
        padding: 0.875rem 0.5rem;
        font-size: 0.875rem;
        display: block;
    }

    .mobile-nav-overlay.active {
        display: block;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.375rem;
    }

    .hero {
        min-height: 65vh;
        padding: 3rem 1.5rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .content-section,
    .block,
    .section-dark,
    .section-accent {
        padding: 3rem 0;
    }

    .two-col-layout {
        gap: 2rem;
    }

    .two-col-layout > * {
        flex: 1 1 100%;
        min-width: 0;
    }

    .two-col-layout.reverse {
        flex-direction: column;
    }

    .grid-2 > *,
    .grid-3 > *,
    .grid-4 > * {
        flex: 1 1 100%;
        min-width: 0;
    }

    .columns-2 > *,
    .columns-3 > * {
        flex: 1 1 100%;
        min-width: 0;
    }

    .featured-grid .featured-item {
        flex-direction: column;
    }

    .featured-grid .featured-item img {
        max-width: 100%;
    }

    .featured-grid .grid-items > * {
        flex: 1 1 100%;
        min-width: 0;
    }

    .portfolio-item {
        flex: 1 1 100%;
        min-width: 0;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-info-item {
        flex: 1 1 100%;
        min-width: 0;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .banner {
        padding: 2rem 1.5rem;
    }

    .header-hero {
        min-height: 35vh;
        padding: 2.5rem 1.5rem;
    }

    .cta-section {
        padding: 3rem 0;
    }

    .insight-card {
        flex-direction: column;
    }

    .insight-card img {
        width: 100%;
        height: 160px;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    footer.footer-minimal .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    footer.footer-minimal .footer-links {
        gap: 1rem;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 0.9375rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .hero {
        min-height: 55vh;
        padding: 2.5rem 1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.8125rem;
    }

    .btn-primary {
        padding: 0.7rem 1.75rem;
        font-size: 0.8125rem;
    }

    .btn-lg {
        padding: 0.75rem 2rem;
        font-size: 0.875rem;
    }

    .card {
        padding: 1.5rem;
    }

    .feature {
        padding: 1.5rem 1rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 2.5rem;
    }

    .timeline::before {
        left: 0.75rem;
    }

    .timeline-item::before {
        left: 0.75rem;
        width: 10px;
        height: 10px;
    }

    .news-card-body {
        padding: 1rem;
    }

    .portfolio-item img {
        height: 180px;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

@media screen and (min-width: 1280px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    h1 {
        font-size: 2.25rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.25rem;
    }

    .content-section,
    .block {
        padding: 5rem 0;
    }

    .section-dark,
    .section-accent {
        padding: 5rem 0;
    }
}

@media print {
    .navbar,
    .mobile-menu-toggle,
    .back-to-top,
    footer {
        display: none;
    }

    main {
        padding-top: 0;
    }

    body {
        color: #000;
        background: #fff;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}
