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

/* --- Globalne Ustawienia & Humanizacja --- */
:root {
    --color-background: #F8F7F5;
    --color-text: #2A4B41;
    --color-primary: #5B8266;
    --color-accent: #C9A798;
    --font-display: 'Jost', sans-serif; 
    --font-sans: 'Mulish', sans-serif;
    --color-animated-word: #C1C2E8; /* Lawendowy */
    --color-cta-orange: #F14F1F;
}

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

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    background-color: var(--color-background);
    color: #000000;
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* --- Kontenery i Layout --- */
.container {
    width: 90%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.main-wrapper {
    display: flex;
    flex-direction: column;
}

section, .fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

section.is-visible, .fade-in-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Elementy Typograficzne --- */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: #000000;
}

h1 {
    text-transform: none;
    font-size: clamp(2.5rem, 6vw + 1rem, 4.5rem);
    margin-bottom: 0.75rem;
}

h1 .no-wrap {
    white-space: nowrap;
}

br.mobile-break {
    display: none;
}

h2 {
    font-size: clamp(2rem, 4vw + 1rem, 3rem);
    margin-bottom: 2rem;
    text-align: center;
}

p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    max-width: 65ch;
    color: #000000;
}

/* --- Nagłówek i Nawigacja --- */
.site-header {
    padding: 1.5rem 0;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-brand a {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}
.header-brand a:hover {
    color: #555;
}

.ai-mark,
.hero-kicker .ai-mark {
    color: #C1C2E8 !important;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}
nav a {
    position: relative;
    text-decoration: none;
    color: #000000;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding-bottom: 5px;
}
nav a:hover {
    color: #555;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000000;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
}
nav a.active::after,
nav a:hover::after {
    transform: scaleX(1);
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    border-left: 1px solid rgba(0,0,0,0.2);
    padding-left: 2rem;
}
.lang-switcher button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    color: #000;
    opacity: 0.5;
    transition: all 0.3s ease;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}
.lang-switcher button:hover {
    opacity: 1;
    background-color: rgba(0,0,0,0.05);
}
.lang-switcher button.active {
    opacity: 1;
    background-color: rgba(0,0,0,0.08);
}

/* --- Sekcja Hero --- */
.hero {
    display: flex;
    align-items: center;
    padding: 18vh 0 10vh 0;
    background-color: #F7F7F8;
    background-image: url('lila_orange_background.jpeg'); 
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.hero-text-content {
    margin-left: -2%;
}

.hero h1 {
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 0.85rem;
}

#animated-word {
    opacity: 0;
    transition: opacity 0.56s ease-in-out;
    color: var(--color-animated-word);
}
#animated-word.is-visible {
    opacity: 1;
}

/* --- Przyciski i CTA --- */
.cta-button {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-background);
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.9rem 2.1rem 1rem 1.9rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 300ms ease;
}
.cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 2px 7px 15px rgba(42, 75, 65, 0.15), -1px 2px 8px rgba(42, 75, 65, 0.08);
}
.cta-button:disabled,
.cta-button[disabled] {
    background-color: #C5CAC7;
    color: rgba(0, 0, 0, 0.35);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
.cta-button:disabled:hover,
.cta-button[disabled]:hover {
    background-color: #C5CAC7;
    color: rgba(0, 0, 0, 0.35);
    box-shadow: none;
    transform: none;
}

/* --- SEKCJA USŁUG --- */
.specifics-section {
    background-color: #ffffff;
    padding-top: 4rem;
    padding-bottom: 5rem;
}

.services-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 3rem;
    align-items: start;
}
.service-item {
    background-color: white;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.service-item h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--color-cta-orange);
}

.service-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    opacity: 1;
}

.context-button {
    display: inline-block;
    margin-top: 1.5rem;
    background-color: var(--color-cta-orange);
    color: white;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    text-transform: none;
}

.service-item:hover .context-button,
.service-item:focus-within .context-button {
    opacity: 1;
    transform: translateY(0);
}

.ai-lab-offer-section {
    background: #F2EEE6;
    padding: 4.5rem 0;
}

.ai-lab-offer-section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.ai-lab-offer-deadline {
    display: block;
    font-size: 1rem;
    color: var(--color-cta-orange);
    font-family: var(--font-sans);
    margin-top: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ai-lab-offer-card {
    position: relative;
    background: #ffffff;
    border: 2px solid rgba(193, 194, 232, 0.6);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 520px;
    margin: 0 auto;
    box-shadow: 0 25px 45px rgba(193, 194, 232, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.ai-lab-offer-badge {
    position: absolute;
    top: -0.85rem;
    left: 2.2rem;
    background: var(--color-cta-orange);
    color: white;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(241, 79, 31, 0.25);
}

.ai-lab-offer-card h3 {
    font-size: 1.9rem;
    font-family: var(--font-display);
    text-align: center;
    color: #000000;
}

.ai-lab-offer-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #2A4B41;
    margin: -0.5rem auto 0;
    max-width: 32ch;
}

.ai-lab-offer-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.5rem;
}

.ai-lab-offer-price .amount {
    font-size: 2.4rem;
    font-weight: 700;
    color: #000000;
    line-height: 1;
}

.ai-lab-offer-price .net {
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #555555;
}

.ai-lab-offer-intro {
    margin: 0;
    text-align: center;
    font-weight: 600;
    color: #2A4B41;
}

.ai-lab-offer-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.ai-lab-offer-features li {
    position: relative;
    padding-left: 1.6rem;
    font-size: 0.98rem;
    color: #2A4B41;
}

.ai-lab-offer-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: var(--color-animated-word);
    box-shadow: 0 0 0 4px rgba(193, 194, 232, 0.25);
}

.ai-lab-offer-cta {
    align-self: center;
    padding-inline: 2.5rem;
    background-color: var(--color-cta-orange);
    color: white;
    box-shadow: 0 18px 35px rgba(241, 79, 31, 0.35);
}

.ai-lab-offer-cta:hover {
    background-color: #e0451a;
    box-shadow: 0 14px 30px rgba(241, 79, 31, 0.3);
}

/* --- Sekcja projektów --- */
.projects-section {
    background-color: #ffffff;
    padding: 5rem 0 5.5rem;
}

.projects-intro {
    text-align: center;
    max-width: 70ch;
    margin: 0 auto 3rem;
}

.projects-intro p {
    margin-bottom: 0;
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.72);
}

.projects-marquee {
    position: relative;
    overflow: hidden;
}

.projects-track {
    --marquee-gap: 2.25rem;
    display: flex;
    align-items: stretch;
    gap: var(--marquee-gap);
    width: max-content;
    animation: projects-scroll 42s linear infinite;
    will-change: transform;
}

.projects-track:hover {
    animation-play-state: paused;
}

.project-card {
    min-width: 320px;
    max-width: 340px;
    padding: 1.85rem 1.9rem;
    background: #ffffff;
    border: 1.5px solid rgba(193, 194, 232, 0.75);
    border-radius: 20px;
    box-shadow: 0 15px 32px rgba(193, 194, 232, 0.16);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.project-card h3 {
    font-size: 1.1rem;
    color: #000000;
}

.project-card p {
    margin-bottom: 0;
    font-size: 0.96rem;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.82);
}

@keyframes projects-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - var(--marquee-gap) / 2));
    }
}

@media (max-width: 1024px) {
    .projects-track {
        gap: 1.75rem;
    }

    .project-card {
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .projects-section {
        padding: 4rem 0;
    }

    .projects-intro p {
        font-size: 0.95rem;
    }

    .projects-track {
        animation-duration: 35s;
    }
}

@media (max-width: 640px) {
    .projects-marquee {
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 1.25rem;
    }

    .projects-marquee::-webkit-scrollbar {
        display: none;
    }

    .projects-track {
        animation: none;
        width: auto;
        gap: 1.5rem;
    }

    .projects-track [aria-hidden="true"] {
        display: none;
    }

    .project-card {
        min-width: 260px;
        max-width: 280px;
        scroll-snap-align: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .projects-track {
        animation: none;
    }

    .projects-track:hover {
        animation-play-state: running;
    }
}

@media (max-width: 768px) {
    .ai-lab-offer-card {
        padding: 2rem 1.75rem;
    }

    .ai-lab-offer-subtitle {
        font-size: 0.95rem;
    }

    .ai-lab-offer-features {
        gap: 0.6rem;
    }
}

/* --- Sekcja "Łączę kropki" (Trust) --- */
.trust-section {
    background-color: #F7F7F8;
    padding: 6.8rem 0 7.4rem;
}
.value-proposition-grid {
    display: flex;
    justify-content: space-around;
    gap: 3rem;
    flex-wrap: wrap;
}
.value-item {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
}

.value-item img {
    height: 60px;
    margin-bottom: 1.5rem;
}

.value-item h3 {
    margin-bottom: 1.5rem;
}

.value-item p {
    font-size: 1rem;
    margin-bottom: 0;
    max-width: 40ch;
    margin-left: auto;
    margin-right: auto;
}

.trust-cta {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

/* --- NOWA SEKCJA CTA --- */
.new-cta-section {
    text-align: center;
    padding: 5rem 0;
    background-color: #ffffff;
}

.mobile-only-cta {
    display: none;
}

.big-cta-button {
    display: inline-block;
    color: white;
    font-family: var(--font-sans);
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    padding: 1.2rem 2.8rem;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: none;
    background-color: var(--color-cta-orange);
}

.big-cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(241, 79, 31, 0.2);
}

/* --- Footer --- */
.footer {
    background-color: #F7F7F8;
    color: #000000;
    padding: 3rem 0;
    font-size: 0.9rem;
    background-image: url('background footer.jpeg');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}
.footer-column {
    flex: 1;
}
.footer-column.left { text-align: left; }
.footer-column.center { text-align: center; }
.footer-column.right { text-align: right; }
.footer-column p {
    margin-bottom: 0.5rem;
    max-width: none;
    font-size: 0.9rem;
    color: #000000;
}
.footer a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer a:hover {
    color: var(--color-cta-orange);
}
.footer-link-special {
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}
.footer-link-special:hover {
    color: var(--color-cta-orange);
    transform: scale(1.05);
}

/* --- Contact Overlay --- */
.contact-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.contact-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}
.contact-modal {
    background: linear-gradient(145deg, #ffffff 0%, #fbfbff 58%, rgba(193, 194, 232, 0.36) 100%);
    padding: 2.6rem;
    border-radius: 8px;
    max-width: 620px;
    width: 90%;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    border: 1px solid rgba(193, 194, 232, 0.65);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
}
.contact-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--color-cta-orange), var(--color-animated-word));
}
.contact-overlay.is-visible .contact-modal {
    transform: scale(1);
}
.close-modal-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.72);
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #000000;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.contact-modal .modal-logo {
    margin: 0 auto 1.35rem;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5.1vw + 0.6rem, 3.85rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: 0;
    color: #000000;
    text-align: center;
    max-width: none;
}
.contact-modal .modal-title {
    text-align: left;
    margin-bottom: 0.8rem;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 0.96;
    color: #000000;
    max-width: 11ch;
}
.contact-modal .modal-subtitle {
    text-align: left;
    font-size: 1.02rem;
    margin: 0 0 1.8rem 0;
    color: rgba(0, 0, 0, 0.72);
    padding: 0;
    max-width: 42ch;
}
#contact-form {
    display: grid;
    gap: 0.95rem;
}
#contact-form .form-row {
    display: grid;
    gap: 0.35rem;
}
#contact-form label:not(.consent-label) {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.62);
}
#contact-form input, #contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.82);
    color: #000000;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
#contact-form input:focus, #contact-form textarea:focus {
    outline: none;
    border-color: var(--color-animated-word);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(193, 194, 232, 0.24);
}
#contact-form textarea {
    min-height: 130px;
    resize: vertical;
}
.consent-label {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: start;
    gap: 0.85rem;
    margin-top: 0.2rem;
    cursor: pointer;
}
.consent-label input[type="checkbox"] {
    width: 18px;
    min-width: 18px;
    height: 18px;
    margin: 0;
    margin-top: 0.12rem;
}
.consent-text {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.4;
}
#contact-form button.cta-button {
    margin-top: 0.7rem;
    justify-self: start;
    background-color: var(--color-cta-orange);
    color: white;
    border: none;
}
#contact-form button.cta-button:hover {
    background-color: #e0451a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(241, 79, 31, 0.3);
}
#contact-form button.cta-button:disabled,
#contact-form button.cta-button[disabled] {
    background-color: #D9D9D9;
    color: rgba(0, 0, 0, 0.35);
    box-shadow: none;
    transform: none;
}
#contact-form button.cta-button:disabled:hover,
#contact-form button.cta-button[disabled]:hover {
    background-color: #D9D9D9;
    box-shadow: none;
    transform: none;
}

.form-status {
    min-height: 1.4rem;
    margin: 0.2rem 0 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: rgba(0, 0, 0, 0.64);
}

.form-status.is-success {
    color: #2A4B41;
}

.form-status.is-error {
    color: var(--color-cta-orange);
}

@media (max-width: 640px) {
    .contact-modal {
        width: calc(100% - 1.5rem);
        padding: 2.2rem 1.25rem 1.4rem;
    }

    .contact-modal .modal-title {
        max-width: 12ch;
    }

    #contact-form button.cta-button {
        width: 100%;
        justify-self: stretch;
    }
}

.cookie-drawer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-background);
    padding: 2rem;
    padding-top: calc(2rem + 0.5cm);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    transform: translateY(110%);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
}
.cookie-drawer.is-visible {
    transform: translateY(0);
}
.cookie-drawer::before {
    content: '';
    position: absolute;
    top: -0.5cm;
    left: 0;
    right: 0;
    height: 0.5cm;
    background: linear-gradient(to top, rgba(248, 247, 245, 1), var(--color-animated-word));
}
.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.cookie-text p {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 1rem;
    margin: 0;
    padding-right: 2rem;
}
.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}
.btn-outline {
    background-color: transparent;
    border: 1px solid #000000;
    color: #000000;
    padding: 0.7rem 1.5rem;
    transition: transform 0.3s ease;
}
.btn-outline:hover {
    background-color: transparent;
    color: #000000;
    transform: scale(1.05);
}
.cookie-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #000000;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}
.cookie-close-btn:hover {
    opacity: 1;
}

/* --- Responsive --- */

/* --- Blog Page Styles --- */
.blog-header {
    padding-top: 20vh;
    padding-bottom: 5vh;
    text-align: center;
    background-color: #fff;
}
.blog-header h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 3.8rem);
    margin-bottom: 1rem;
}
.blog-header p {
    font-size: 1.2rem;
    max-width: 60ch;
    margin: 0 auto;
    color: #555;
}
.blog-list-section {
    padding: 4rem 0;
    background-color: #fff;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}
.post-card {
    background-color: var(--color-background);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.post-card-content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.post-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    text-align: left;
}
.post-card p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.read-more-link {
    font-weight: 600;
    color: var(--color-cta-orange);
    text-decoration: none;
    align-self: flex-start;
}
.read-more-link:after {
    content: ' →';
    transition: transform 0.2s ease;
    display: inline-block;
}
.post-card:hover .read-more-link:after {
    transform: translateX(4px);
}


@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.15;
    }
    br.mobile-break {
        display: block;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .specifics-section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    .service-item .context-button {
        display: none;
    }
    .service-item:nth-child(-n+5) p {
        padding-bottom: 0;
    }
    .mobile-only-cta {
        display: block;
        padding: 0 0 3rem 0;
    }
    .orange-cta {
        display: none;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }
    .footer-column.left, .footer-column.right {
        text-align: center;
        order: 2;
    }
    .footer-column.center {
        order: 1;
    }
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-text p { padding-right: 0; margin-bottom: 1.5rem; }
}
/* --- Sales Page Styles --- */
body.sales-page {
    color: var(--color-text);
    background-color: var(--color-background);
}
body.sales-page .sales-main {
    padding-top: 4.5rem;
    gap: 0;
}
body.sales-page h1,
body.sales-page h2,
body.sales-page h3 {
    color: rgba(42, 40, 41, 0.98);
}
body.sales-page p {
    color: var(--color-text);
}
body.sales-page .sales-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(91, 130, 102, 0.85);
    margin-bottom: 1.1rem;
}
body.sales-page .sales-eyebrow::before {
    content: '';
    width: 36px;
    height: 1.5px;
    background: linear-gradient(90deg, var(--color-primary), rgba(91, 130, 102, 0));
}
body.sales-page .sales-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2.2rem;
}
body.sales-page .cta-button.secondary {
    background-color: var(--color-accent);
    box-shadow: 0 12px 30px rgba(201, 167, 152, 0.28);
}
body.sales-page .cta-button.secondary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 18px 34px rgba(201, 167, 152, 0.32);
}

body.sales-page .sales-hero {
    position: relative;
    padding: clamp(7rem, 14vw, 11.5rem) 0 clamp(4rem, 7vw, 6.5rem);
    background: radial-gradient(circle at 18% 12%, rgba(193, 194, 232, 0.34), transparent 48%), rgba(247, 247, 248, 0.85);
    overflow: hidden;
}
body.sales-page .sales-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(201, 167, 152, 0.08), rgba(193, 194, 232, 0.12));
    pointer-events: none;
}
body.sales-page .sales-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
body.sales-page .sales-hero-copy p {
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    max-width: 36ch;
}
body.sales-page .sales-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}
body.sales-page .sales-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(91, 130, 102, 0.2);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(42, 75, 65, 0.85);
    backdrop-filter: blur(8px);
}
body.sales-page .sales-hero-card {
    position: relative;
    align-self: center;
    background: var(--color-background);
    border-radius: 28px;
    padding: clamp(2rem, 4vw, 2.6rem);
    box-shadow: 0 30px 60px rgba(42, 75, 65, 0.12);
    overflow: hidden;
}
body.sales-page .sales-hero-card::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(193, 194, 232, 0.55), transparent 65%);
    top: -30%;
    right: -10%;
}
body.sales-page .sales-hero-card h3 {
    margin-bottom: 1rem;
}
body.sales-page .sales-hero-card ul {
    margin: 1.2rem 0 0;
    padding-left: 1.3rem;
    color: rgba(42, 75, 65, 0.7);
}
body.sales-page .sales-hero-card li + li {
    margin-top: 0.6rem;
}

body.sales-page .sales-problem {
    background: var(--color-background);
    padding: clamp(4rem, 7vw, 6.5rem) 0;
}
body.sales-page .sales-problem-grid {
    display: grid;
    gap: clamp(2rem, 5vw, 3.5rem);
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: start;
}
body.sales-page .sales-problem-card,
body.sales-page .sales-solution-card {
    background: rgba(248, 247, 245, 0.9);
    border-radius: 28px;
    padding: clamp(1.8rem, 4vw, 2.4rem);
    border: 1px solid rgba(91, 130, 102, 0.08);
    box-shadow: 0 18px 40px rgba(42, 75, 65, 0.08);
}
body.sales-page .sales-solution-card {
    background: #ffffff;
    box-shadow: 0 30px 60px rgba(42, 75, 65, 0.12);
}
body.sales-page .sales-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(201, 167, 152, 0.28), rgba(91, 130, 102, 0.12));
    margin-bottom: 1.3rem;
}
body.sales-page .sales-icon-circle svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-primary);
    fill: none;
    stroke-width: 1.8;
}
body.sales-page .sales-metric-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}
body.sales-page .sales-metric-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background: rgba(193, 194, 232, 0.18);
    color: rgba(42, 75, 65, 0.85);
    font-weight: 600;
    font-size: 0.92rem;
}

body.sales-page .sales-benefits {
    position: relative;
    padding: clamp(4rem, 7vw, 6.5rem) 0;
}
body.sales-page .sales-benefits::before {
    content: '';
    position: absolute;
    inset: 0 0 -20% 0;
    background: linear-gradient(180deg, rgba(193, 194, 232, 0.15), rgba(248, 247, 245, 0));
    pointer-events: none;
}
body.sales-page .sales-benefits-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.4rem);
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
body.sales-page .sales-benefit-card {
    background: #ffffff;
    border-radius: 28px;
    padding: min(2.3rem, 6vw);
    box-shadow: 0 18px 40px rgba(42, 75, 65, 0.08);
    border: 1px solid rgba(91, 130, 102, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body.sales-page .sales-benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(42, 75, 65, 0.12);
}
body.sales-page .sales-benefit-card h3 {
    margin-bottom: 0.6rem;
    font-size: 1.2rem;
}
body.sales-page .sales-benefit-card p {
    font-size: 0.98rem;
    color: rgba(42, 75, 65, 0.75);
}

body.sales-page .sales-testimonials {
    background: #ffffff;
    padding: clamp(4rem, 7vw, 6.5rem) 0;
}
body.sales-page .sales-testimonials-header {
    text-align: center;
    max-width: 56ch;
    margin: 0 auto clamp(2rem, 5vw, 3rem);
}
body.sales-page .sales-testimonials-grid {
    display: grid;
    gap: clamp(1.5rem, 3.5vw, 2.5rem);
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
body.sales-page .sales-testimonial-card {
    border-radius: 28px;
    padding: clamp(1.8rem, 3.8vw, 2.3rem);
    background: rgba(248, 247, 245, 0.92);
    border: 1px solid rgba(201, 167, 152, 0.18);
    box-shadow: 0 18px 40px rgba(42, 75, 65, 0.08);
}
body.sales-page .sales-testimonial-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.3rem;
}
body.sales-page .sales-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
body.sales-page .sales-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.sales-page .sales-stars {
    font-size: 1.05rem;
    letter-spacing: 0.2em;
    color: #F7B84B;
}
body.sales-page .sales-metrics {
    margin-top: clamp(2rem, 4vw, 3rem);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

body.sales-page .sales-pricing {
    position: relative;
    padding: clamp(4rem, 7vw, 6.5rem) 0;
}
body.sales-page .sales-pricing-header {
    text-align: center;
    margin-bottom: clamp(2.4rem, 5vw, 3.4rem);
}
body.sales-page .sales-pricing-intro {
    max-width: 60ch;
    margin: 0 auto;
    color: rgba(42, 75, 65, 0.7);
}
body.sales-page .sales-pricing-grid {
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.8rem);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
body.sales-page .sales-pricing-card {
    position: relative;
    border-radius: 28px;
    padding: clamp(2.1rem, 4.2vw, 2.8rem);
    background: #ffffff;
    box-shadow: 0 25px 55px rgba(42, 75, 65, 0.14);
    border: 1px solid rgba(91, 130, 102, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body.sales-page .sales-pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 36px 70px rgba(42, 75, 65, 0.18);
}
body.sales-page .sales-pricing-card.recommended {
    background: linear-gradient(145deg, rgba(201, 167, 152, 0.22), rgba(255, 255, 255, 0.95));
    border-color: transparent;
    animation: sales-pulse 3.3s infinite;
}
body.sales-page .sales-pricing-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: rgba(241, 79, 31, 0.12);
    color: var(--color-cta-orange);
}
body.sales-page .sales-price {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 700;
    color: rgba(42, 40, 41, 0.96);
    margin: 0.5rem 0 1rem;
}
body.sales-page .sales-price span {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(42, 75, 65, 0.6);
    margin-left: 0.4rem;
}
body.sales-page .sales-features {
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}
body.sales-page .sales-features li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.98rem;
    margin-bottom: 0.75rem;
    color: rgba(42, 75, 65, 0.75);
}
body.sales-page .sales-features li::before {
    content: '•';
    color: var(--color-primary);
    font-size: 1.2rem;
    line-height: 1.1;
}

body.sales-page .sales-guarantee {
    background: rgba(91, 130, 102, 0.08);
    padding: clamp(4rem, 7vw, 6.5rem) 0;
}
body.sales-page .sales-guarantee-card {
    background: #ffffff;
    border-radius: 28px;
    padding: clamp(2rem, 4vw, 2.8rem);
    box-shadow: 0 30px 60px rgba(42, 75, 65, 0.12);
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 64px 1fr;
    align-items: start;
}
body.sales-page .sales-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(91, 130, 102, 0.2), rgba(201, 167, 152, 0.25));
}
body.sales-page .sales-badge svg {
    width: 30px;
    height: 30px;
    stroke: var(--color-primary);
    fill: none;
    stroke-width: 1.6;
}

body.sales-page .sales-faq {
    background: #ffffff;
    padding: clamp(4rem, 7vw, 6.5rem) 0;
}
body.sales-page .sales-faq-grid {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}
body.sales-page .sales-faq-item {
    border-radius: 18px;
    border: 1px solid rgba(91, 130, 102, 0.18);
    background: rgba(248, 247, 245, 0.92);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
body.sales-page .sales-faq-item.open {
    border-color: rgba(91, 130, 102, 0.4);
    box-shadow: 0 18px 40px rgba(42, 75, 65, 0.08);
}
body.sales-page .sales-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    color: rgba(42, 40, 41, 0.96);
}
body.sales-page .sales-faq-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(193, 194, 232, 0.4);
    color: rgba(42, 75, 65, 0.8);
    font-weight: 700;
    transition: transform 0.3s ease;
}
body.sales-page .sales-faq-item.open .sales-faq-icon {
    transform: rotate(45deg);
}
body.sales-page .sales-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    color: rgba(42, 75, 65, 0.7);
    font-size: 0.97rem;
    transition: max-height 0.4s ease, padding-bottom 0.4s ease;
}
body.sales-page .sales-faq-item.open .sales-faq-answer {
    padding-bottom: 1.4rem;
}

body.sales-page .sales-final-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 7vw, 6.5rem) 0;
    background: radial-gradient(circle at 10% 10%, rgba(193, 194, 232, 0.32), transparent 65%), linear-gradient(135deg, rgba(201, 167, 152, 0.28), rgba(91, 130, 102, 0.22));
}
body.sales-page .sales-final-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.35);
    mix-blend-mode: soft-light;
}
body.sales-page .sales-final-cta-card {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    padding: clamp(2.6rem, 7vw, 3.6rem);
    background: rgba(255, 255, 255, 0.82);
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(42, 75, 65, 0.12);
    border: 1px solid rgba(91, 130, 102, 0.14);
}
body.sales-page .sales-final-cta-card p {
    max-width: 50ch;
    margin: 0 auto 2rem;
    color: rgba(42, 75, 65, 0.8);
}
body.sales-page .sales-countdown {
    display: inline-flex;
    margin: 1.5rem auto 0;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    background: rgba(42, 75, 65, 0.08);
    color: rgba(42, 75, 65, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.07em;
}

@keyframes sales-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(241, 79, 31, 0.38);
    }
    50% {
        box-shadow: 0 0 0 18px rgba(241, 79, 31, 0);
    }
}

@media (max-width: 960px) {
    body.sales-page .sales-hero-card {
        order: -1;
    }
    body.sales-page .sales-guarantee-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    body.sales-page .sales-badge {
        margin: 0 auto;
    }
}

@media (max-width: 720px) {
    body.sales-page .sales-hero-grid {
        gap: 2rem;
    }
    body.sales-page .sales-cta-group {
        width: 100%;
    }
    body.sales-page .sales-cta-group .cta-button {
        flex: 1 1 100%;
        text-align: center;
    }
    body.sales-page .sales-faq-question {
        text-align: left;
        gap: 1rem;
    }
}

/* --- AIGNOSTIC overrides --- */
.hero {
    min-height: 68vh;
    padding-top: 18vh;
    padding-bottom: 6vh;
}

.hero-kicker {
    font-family: var(--font-display);
    font-size: clamp(7rem, 16vw + 2rem, 13rem);
    line-height: 0.9;
    font-weight: 700;
    letter-spacing: 0;
    color: #000000;
    margin-bottom: 2rem;
    max-width: none;
    text-align: left;
    width: 100%;
    text-shadow: 0 1px 16px rgba(255, 255, 255, 0.55);
}

.hero .hero-text-content .hero-kicker {
    font-size: clamp(2.2rem, 5.1vw + 0.6rem, 3.85rem) !important;
}

.hero-kicker small {
    display: block;
    margin-top: 0.9rem;
    font-family: var(--font-sans);
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: #000000;
    text-shadow: 0 1px 12px rgba(255, 255, 255, 0.55);
}

.hero #hero-p {
    max-width: 58ch;
}

.hero-cta {
    display: block;
    margin-top: 1.2rem;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    background-color: var(--color-cta-orange);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(241, 79, 31, 0.22);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 3.2rem;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 1rem;
}

.section-heading p {
    margin: 0 auto;
    color: rgba(0, 0, 0, 0.72);
}

.agnostic-services-grid .service-item {
    min-height: 260px;
    border-top: 1px solid rgba(193, 194, 232, 0.5);
}

.projects-intro {
    margin-bottom: 2.5rem;
}

.projects-intro h2 {
    margin-bottom: 0;
}

.tools-section {
    background: #ffffff;
}

.tools-track {
    align-items: center;
    animation-duration: 34s;
}

.tool-card {
    min-width: 190px;
    min-height: 112px;
    padding: 1.1rem 1.35rem;
    display: grid;
    place-items: center;
    border: 1.5px solid rgba(193, 194, 232, 0.75);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 15px 32px rgba(193, 194, 232, 0.14);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    font-weight: 700;
    line-height: 1;
    color: #000000;
    letter-spacing: 0;
    white-space: nowrap;
}

.logo-card {
    grid-template-rows: 48px auto;
    gap: 0.75rem;
}

.logo-card img {
    max-width: 54px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo-card span {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
}

.text-logo-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(193, 194, 232, 0.18));
}

.footer {
    min-height: 190px;
}

@media (max-width: 1024px) {
    .agnostic-services-grid .service-item {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    nav ul {
        gap: 1.1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        min-height: auto;
        padding: 17vh 0 6vh;
        background-attachment: scroll;
    }

    .hero-kicker {
        font-size: clamp(4.8rem, 24vw, 8.8rem);
        overflow-wrap: anywhere;
    }

    .hero .hero-text-content .hero-kicker {
        font-size: clamp(4.8rem, 24vw, 8.8rem) !important;
    }

    .hero #hero-p {
        font-size: 1rem;
        max-width: 100%;
    }

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

    .orange-cta {
        display: block;
    }

    .big-cta-button {
        width: min(100%, 360px);
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }
}

@media (max-width: 420px) {
    .header-container {
        align-items: flex-start;
    }

    nav ul {
        justify-content: flex-start;
    }
}
