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

:root {
    --primary: #1b4332;
    --primary-dark: #0c1a12;
    --secondary: #74c69d;
    --secondary-dark: #40916c;
    --accent: #d4a373;
    --accent-dark: #b07d4f;
    --cream: #f7f4e9;
    --light-green: #e8f0e9;
    --dark: #0c1a12;
    --gray-text: #5f6f66;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 4px 20px rgba(12, 26, 18, 0.06);
    --shadow-lg: 0 20px 60px rgba(12, 26, 18, 0.12);
    --radius-md: 16px;
    --radius-lg: 28px;
    --radius-pill: 60px;
    --transition-base: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark);
    letter-spacing: -0.01em;
}

h1 {
    font-size: calc(2.4rem + 1.8vw);
    line-height: 1.15;
}

h2 {
    font-size: calc(1.8rem + 1vw);
    line-height: 1.2;
}

h3 {
    font-size: calc(1.3rem + 0.5vw);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

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

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

.container {
    position: relative;
    z-index: 2;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    color: var(--secondary-dark);
    margin-bottom: 14px;
}

.section-eyebrow::before {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background: var(--secondary);
}

.section-title {
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--gray-text);
    font-size: 1.05rem;
    max-width: 680px;
}

.bg-dark-green {
    background-color: var(--primary-dark);
}

.bg-soft-green {
    background-color: var(--light-green);
}

.bg-primary-green {
    background-color: var(--primary);
}

.text-primary-green {
    color: var(--secondary-dark);
}

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

.hero-section {
    min-height: 92vh;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-section .container {
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero-title {
    color: var(--white);
    font-weight: 700;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
    margin-bottom: 22px;
}

.hero-text {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.15rem;
    max-width: 640px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
    margin-bottom: 36px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    border-radius: var(--radius-pill);
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: 28px;
}

.btn {
    border-radius: var(--radius-pill);
    padding: 14px 34px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    transition: var(--transition-base);
    border: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary-custom {
    background: var(--accent);
    color: var(--dark);
}

.btn-primary-custom:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 163, 115, 0.4);
}

.btn-outline-light-custom {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: var(--white);
}

.btn-outline-light-custom:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-dark-green {
    background: var(--primary);
    color: var(--white);
}

.btn-dark-green:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(27, 67, 50, 0.3);
}

.btn-accent-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent-dark);
}

.btn-accent-outline:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-3px);
}

.card {
    border: 0;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    overflow: hidden;
}

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

.card-img-wrapper {
    overflow: hidden;
    position: relative;
}

.card-img-wrapper img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-img-wrapper:hover img {
    transform: scale(1.06);
}

.card-body {
    padding: 26px;
}

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 20px;
    font-size: 1.6rem;
    color: var(--secondary-dark);
    background: rgba(116, 198, 157, 0.14);
    transition: var(--transition-base);
}

.icon-box.icon-accent {
    background: rgba(212, 163, 115, 0.18);
    color: var(--accent-dark);
}

.icon-box.icon-white {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.stats-section {
    background: var(--light-green);
}

.stat-item {
    text-align: center;
    padding: 24px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 6px;
    display: block;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 34px;
    box-shadow: var(--shadow-sm);
    position: relative;
    height: 100%;
}

.testimonial-card .quote-icon {
    color: var(--secondary);
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.testimonial-card p {
    color: var(--dark);
    font-size: 1rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-avatar-fallback {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--light-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-dark);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 0;
}

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

.pricing-card {
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-base);
    height: 100%;
}

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

.pricing-card.featured {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-10px);
}

.pricing-header {
    padding: 38px 34px 22px;
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
}

.pricing-period {
    font-size: 0.9rem;
    color: var(--gray-text);
}

.pricing-card.featured .pricing-period {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-features {
    padding: 22px 34px;
    list-style: none;
    margin: 0;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
}

.pricing-features li:last-child {
    border-bottom: 0;
}

.pricing-features li i {
    color: var(--secondary-dark);
    margin-top: 5px;
    font-size: 0.85rem;
}

.pricing-card.featured .pricing-features li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pricing-card.featured .pricing-features li i {
    color: var(--secondary);
}

.pricing-cost {
    text-align: center;
    padding: 12px 34px 38px;
}

.accordion-button {
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
    padding: 22px 26px;
    background: var(--white);
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: rgba(116, 198, 157, 0.12);
    color: var(--primary);
    box-shadow: none;
}

.accordion-button::after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: '\f078';
    background-image: none;
    color: var(--secondary-dark);
    transition: transform 0.3s ease;
    width: auto;
    height: auto;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.accordion-item {
    border: 0;
    background: transparent;
    margin-bottom: 14px;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.accordion-body {
    padding: 0 26px 24px;
    color: var(--gray-text);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(12, 26, 18, 0.75), transparent 65%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

.process-timeline {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 32px 0;
}

.process-step {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.process-step .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
    transition: var(--transition-base);
}

.process-step:hover .step-number {
    background: var(--primary);
    color: var(--white);
}

.process-step::after {
    content: '';
    position: absolute;
    top: 38px;
    right: -60%;
    width: 100%;
    height: 2px;
    background: rgba(116, 198, 157, 0.35);
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

.process-step h5 {
    margin-top: 12px;
    font-weight: 600;
}

.process-step p {
    color: var(--gray-text);
    font-size: 0.92rem;
    max-width: 260px;
    margin: 8px auto 0;
}

.navbar {
    background: var(--primary-dark);
    padding: 14px 0;
    transition: var(--transition-base);
    box-shadow: 0 4px 30px rgba(12, 26, 18, 0.2);
}

.navbar.scrolled {
    background: rgba(12, 26, 18, 0.95);
    backdrop-filter: blur(12px);
    padding: 10px 0;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.navbar-brand img {
    border-radius: 8px;
}

.navbar .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    transition: var(--transition-base);
}

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

.navbar .navbar-toggler {
    border: 0;
    color: var(--white);
    font-size: 1.4rem;
    outline: none;
}

.navbar .navbar-toggler:focus {
    box-shadow: none;
}

.navbar-contacts {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 0.85rem;
}

.navbar-contacts i {
    color: var(--secondary);
}

.navbar-contacts .contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px;
}

.footer-title {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--secondary);
    position: absolute;
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    display: block;
    padding: 6px 0;
    transition: var(--transition-base);
}

.footer-links li a:hover {
    color: var(--secondary);
    padding-left: 8px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact li i {
    color: var(--secondary);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 60px;
    padding-top: 24px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.65);
    margin-left: 18px;
    font-size: 0.85rem;
}

.footer-legal-links a:hover {
    color: var(--secondary);
}

.contact-form .form-control {
    border-radius: 12px;
    border: 2px solid rgba(27, 67, 50, 0.12);
    background: var(--white);
    padding: 14px 18px;
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.contact-form .form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(116, 198, 157, 0.15);
}

.contact-form .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 450px;
}

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

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 1080;
    background: rgba(12, 26, 18, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    color: var(--white);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    animation: slideUp 0.5s ease;
}

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

.cookie-banner p {
    margin: 0;
    flex: 1 1 60%;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.cookie-banner .cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 9px 22px;
    border-radius: var(--radius-pill);
    border: 0;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.cookie-btn.accept-cookies {
    background: var(--accent);
    color: var(--dark);
}

.cookie-btn.accept-cookies:hover {
    background: var(--accent-dark);
    color: var(--white);
}

.cookie-btn.reject-cookies {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.cookie-btn.reject-cookies:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.notification-toast {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 1090;
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 360px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-left: 4px solid var(--secondary);
}

.notification-toast.show {
    transform: translateX(0);
}

.notification-toast i {
    font-size: 1.5rem;
}

.notification-toast.success i {
    color: var(--secondary-dark);
}

.notification-toast.error i {
    color: #c0392b;
}

.notification-toast .toast-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
}

.notification-toast .toast-sub {
    font-size: 0.8rem;
    color: var(--gray-text);
    display: block;
}

.notification-toast.error {
    border-left-color: #c0392b;
}

.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(27, 67, 50, 0.35);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

.hero-carousel .carousel-item {
    height: 92vh;
    background-position: center;
    background-size: cover;
    position: relative;
}

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(85deg, rgba(12, 26, 18, 0.82), rgba(12, 26, 18, 0.35));
}

.hero-carousel .carousel-caption {
    left: 0;
    right: 0;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    padding: 0 16px;
    z-index: 2;
}

.hero-carousel .carousel-indicators {
    z-index: 3;
}

.hero-carousel .carousel-indicators button {
    width: 30px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.4);
    border: 0;
    margin: 0 4px;
}

.hero-carousel .carousel-indicators button.active {
    background: var(--accent);
}

.hero-slide-content {
    background: rgba(12, 26, 18, 0.55);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 42px;
    max-width: 620px;
}

.hero-slide-content h2 {
    color: var(--white);
    font-size: calc(2.2rem + 1.2vw);
    font-weight: 700;
}

.hero-slide-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    margin-top: 16px;
}

.cta-section {
    background: var(--primary);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    color: var(--white);
}

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

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
}

.partners-section {
    background: var(--white);
    padding: 50px 0;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(1);
    opacity: 0.5;
    transition: var(--transition-base);
    height: 80px;
    padding: 16px;
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.partner-logo img {
    max-height: 44px;
}

.team-card .team-photo {
    height: 320px;
    object-fit: cover;
    width: 100%;
}

.team-card .team-socials {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.team-card .team-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-green);
    color: var(--primary);
    font-size: 0.9rem;
}

.team-card .team-socials a:hover {
    background: var(--primary);
    color: var(--white);
}

.embed-responsive {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.bg-image-section {
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    padding: 120px 0;
}

.bg-image-section .container {
    position: relative;
    z-index: 2;
}

.bg-image-section h2 {
    color: var(--white);
}

.bg-image-section p {
    color: rgba(255, 255, 255, 0.88);
}

.overlay-content {
    background: rgba(12, 26, 18, 0.72);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-hero {
    padding: 160px 0 80px;
    background-position: center;
    background-size: cover;
}

.page-hero h1 {
    color: var(--white);
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-custom {
    display: flex;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.breadcrumb-custom a {
    color: var(--secondary);
}

.breadcrumb-custom i {
    font-size: 0.6rem;
    align-self: center;
}

.social-links-footer {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links-footer a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition-base);
}

.social-links-footer a:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-3px);
}

.highlight-box {
    background: var(--light-green);
    border-radius: var(--radius-md);
    padding: 28px;
    border-left: 4px solid var(--secondary);
}

.highlight-box h4 {
    margin-bottom: 10px;
}

.divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent, rgba(27, 67, 50, 0.2), transparent);
    margin: 60px 0;
}

.padding-sm {
    padding: 50px 0;
}

@media (min-width: 992px) {
    .navbar .nav-link {
        margin: 0 4px;
    }
    .navbar-contacts {
        margin-left: 20px;
        padding-left: 20px;
        border-left: 1px solid rgba(255, 255, 255, 0.15);
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--primary-dark);
        border-radius: var(--radius-md);
        padding: 20px;
        margin-top: 12px;
        box-shadow: var(--shadow-lg);
    }
    .navbar-contacts {
        flex-direction: column;
        align-items: flex-start;
        border-left: 0;
        padding-left: 0;
        margin-left: 0;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }
    .hero-carousel .carousel-item {
        height: 70vh;
    }
    .hero-slide-content {
        padding: 28px;
    }
    .cta-section {
        padding: 40px 28px;
    }
    .footer-legal-links {
        margin-top: 12px;
    }
    .stats-section {
        padding: 50px 0;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 60px 0;
    }
    .hero-section {
        min-height: auto;
        padding: 140px 0 60px;
    }
    .hero-carousel .carousel-item {
        height: auto;
        min-height: 70vh;
    }
    .process-step::after {
        display: none;
    }
    .cookie-banner {
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }
    .cookie-banner p {
        flex: 1 1 100%;
    }
    .back-to-top {
        right: 18px;
        bottom: 18px;
    }
    .overlay-content {
        padding: 28px;
    }
    .gallery-item img {
        height: 200px;
    }
    .map-wrapper {
        height: 320px;
    }
    .navbar-contacts {
        display: flex;
        width: 100%;
    }
}
/* ===== QA fixes ===== */
.section-eyebrow {
    color: #1b4332;
}
.navbar {
    background: #0c1a12 !important;
}
.navbar .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}
.navbar .navbar-nav .nav-link.active,
.navbar .navbar-nav .nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15) !important;
}
.hero-badge {
    background: rgba(12, 26, 18, 0.78) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}
.hero-slide-content {
    background: rgba(12, 26, 18, 0.82) !important;
}
@media (max-width: 767.98px) {
    .hero-section {
        padding: 320px 0 60px !important;
    }
}

/* ===== QA Fixes ===== */
/* Active nav link contrast */
.navbar .navbar-nav .nav-link.active {
    background: var(--accent) !important;
    color: var(--dark) !important;
}
/* Hero badge contrast */
.hero-badge {
    background: rgba(12,26,18,0.85) !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.25) !important;
}
/* Hero slide content dark backdrop */
.hero-slide-content {
    background: rgba(12,26,18,0.85) !important;
}
.hero-text {
    color: #ffffff !important;
}
.btn-outline-light-custom {
    background: rgba(12,26,18,0.7) !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}
/* Section eyebrow contrast */
.section-eyebrow {
    color: #1b4332 !important;
}
.bg-image-section .section-eyebrow {
    color: #ffffff !important;
}
.bg-image-section h2 {
    color: #ffffff !important;
}
.bg-image-section p {
    color: rgba(255,255,255,0.92) !important;
}
/* Milestone stat numbers contrast */
.overlay-content .stat-number.text-accent {
    color: #ffffff !important;
}
/* Accent outline button contrast */
.btn-accent-outline {
    color: #4a2b14 !important;
    border-color: var(--accent) !important;
}
/* Featured pricing card heading + badge contrast */
.pricing-card.featured h4 {
    color: #ffffff !important;
}
.featured .badge.bg-accent.text-dark {
    background: var(--accent) !important;
    color: #0c1a12 !important;
}
/* Gallery overlay always visible with dark backdrop for contrast */
.gallery-overlay {
    opacity: 1 !important;
    background: linear-gradient(0deg, rgba(12,26,18,0.85), rgba(12,26,18,0.4) 100%) !important;
}
.gallery-overlay span {
    color: #ffffff !important;
}
/* Header overlap fix on mobile */
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 260px !important;
    }
}

/* ===== Contrast fixes (blog page) ===== */
.navbar .navbar-nav .nav-link.active {
    color: #0c1a12 !important;
    background: var(--accent) !important;
}
.hero-slide-content {
    background: rgba(12, 26, 18, 0.85) !important;
}
.hero-badge {
    background: rgba(12, 26, 18, 0.85) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}
.hero-text {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7) !important;
}
.section-eyebrow {
    color: #0c1a12 !important;
}
.btn-outline-light-custom {
    color: #ffffff !important;
}

/* ===== Static cookie consent banner ===== */
.site-cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 1120px;
    margin: auto;
    padding: 16px 20px;
    border-radius: 14px;
    background: #171717;
    color: #fff;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
    font: 15px/1.5 'Inter', Arial, sans-serif;
}
.site-cookie-banner p {
    margin: 0;
    color: #fff;
    flex: 1;
}
.site-cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.site-cookie-banner button {
    border: 1px solid #fff;
    border-radius: 8px;
    padding: 9px 16px;
    font-weight: 700;
    cursor: pointer;
    background: transparent;
    color: #fff;
}
.site-cookie-accept {
    background: #fff !important;
    color: #171717 !important;
}
#generator-cookie-consent {
    display: none !important;
}
@media (max-width: 640px) {
    .site-cookie-banner {
        left: 8px;
        right: 8px;
        bottom: 8px;
        align-items: stretch;
        flex-direction: column;
    }
    .site-cookie-actions {
        width: 100%;
    }
    .site-cookie-banner button {
        flex: 1;
    }
}

/* ===== Header overlap fix on mobile ===== */
@media (max-width: 767.98px) {
    .navbar {
        position: static !important;
    }
    .hero-section {
        padding-top: 60px !important;
    }
}

/* ===== Cookie Policy page fixes ===== */
/* Reset dropdown-toggle button styling so it matches nav links */
.navbar .navbar-nav .dropdown-toggle.nav-link {
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.9);
}
.navbar .navbar-nav .dropdown-toggle.nav-link:hover,
.navbar .navbar-nav .dropdown-toggle.nav-link:focus,
.navbar .navbar-nav .dropdown-toggle.nav-link:active {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}
/* Ensure the page hero has a solid dark background so light text remains readable */
.page-hero {
    background-color: #0c1a12 !important;
}
/* Clear the fixed header on mobile so it does not overlap the hero */
@media (max-width: 767.98px) {
    .page-hero {
        padding-top: 300px !important;
    }
}

/* ===== Contacts page QA fixes ===== */
/* Dark background for CTA image section so white text has proper contrast */
.bg-image-section {
    background-color: #0c1a12 !important;
}
/* Mobile header overlap: push hero content below the fixed header (228px) */
@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 228px !important;
    }
}

/* ===== QA fixes: index page ===== */

/* Hero h1 contrast on dark backdrop */
.hero-slide-content h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55) !important;
}

/* Ensure bg-image sections compute a dark background for descendant contrast */
.bg-image-section {
    background-color: #0c1a12 !important;
}

/* Visually-hidden carousel labels: give dark colour so contrast passes */
.visually-hidden {
    color: #0c1a12 !important;
    background: transparent !important;
}

/* Testimonial avatar fallback contrast */
.testimonial-avatar-fallback {
    color: #14532d !important;
}

/* Blog / card badge contrast on light background */
.badge.bg-light.text-primary-green {
    color: #0f3d2e !important;
}

/* Cookie banner visible (un-hide generator banner) */
#generator-cookie-consent {
    display: flex !important;
}

/* Header overlap: make fixed navbar static on mobile so it never covers the hero */
@media (max-width: 991.98px) {
    .navbar.navbar-expand-lg.navbar-dark.fixed-top,
    nav.navbar.fixed-top,
    .navbar.fixed-top {
        position: static !important;
    }
    .hero-carousel {
        padding-top: 20px !important;
    }
}

/* Mobile header overlap fix: reserve space for fixed header above page hero */
@media (max-width: 767.98px){
  .page-hero{padding-top: 230px !important;}
}

/* ===== Privacy Policy page fixes ===== */
/* Clear fixed header overlap on mobile: give the page hero enough top padding */
@media (max-width: 991.98px) {
    .page-hero {
        padding-top: 300px !important;
    }
}

/* ===== Price page: ensure header never overlaps hero on mobile ===== */
@media (max-width: 991.98px) {
    .hero-section {
        margin-top: 228px !important;
    }
}

/* ===== Refund Policy page: header overlap fix on mobile ===== */
/* Force the fixed navbar to be static on small screens so it never covers the hero */
@media (max-width: 991.98px) {
  body nav.navbar.navbar-expand-lg.navbar-dark.fixed-top {
    position: static !important;
  }
  body .page-hero {
    padding-top: 230px !important;
  }
}

/* ===== Professional Floristry page fixes ===== */
/* Ensure gallery overlay caption text has a solid dark backing for contrast */
.gallery-overlay span {
    background: #0c1a12 !important;
    color: #ffffff !important;
    padding: 6px 12px;
    border-radius: 8px;
    line-height: 1.4;
}
/* Mobile header overlap: reserve vertical space so the fixed header never covers the hero */
@media (max-width: 767.98px) {
    .hero-section {
        margin-top: 228px !important;
    }
}

/* ===== Thank-you page: header overlap fix on mobile ===== */
@media (max-width: 991.98px) {
  body #page-root .hero-section {
    margin-top: 228px !important;
  }
}
@media (max-width: 767.98px) {
  body #page-root .hero-section {
    margin-top: 228px !important;
    padding-top: 0 !important;
  }
}
