/* ============================================
   ORANGE DIGITAL — Complete Redesign
   Psihologija × AI × Strategija
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --orange: #E65100;
    --orange-hover: #FF6D00;
    --navy: #0D1B2A;
    --navy-light: #1B2D45;
    --cream: #FFF8F0;
    --gold: #C9A96E;
    --grey: #6B7280;
    --grey-light: #E5E7EB;
    --white: #FFFFFF;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 1200px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--navy);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Loader / Intro --- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader__inner {
    text-align: center;
}

.loader__mixer {
    margin-bottom: 24px;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

.loader__text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 4px;
    color: var(--white);
    margin-bottom: 24px;
}

.loader__text span { color: var(--orange); }

.loader__bar {
    width: 120px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.loader__bar-fill {
    width: 0%;
    height: 100%;
    background: var(--orange);
    border-radius: 2px;
    animation: loaderFill 1.8s ease-in-out forwards;
}

@keyframes loaderFill {
    0% { width: 0%; }
    60% { width: 80%; }
    100% { width: 100%; }
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.nav--scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 1px 3px rgba(13, 27, 42, 0.08);
}

.nav--scrolled .nav__logo,
.nav--scrolled .nav__link { color: var(--navy); }

.nav__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    transition: color var(--transition);
}

.nav__logo-icon { flex-shrink: 0; }

.nav__logo-text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 3px;
}

.nav__logo-accent { color: var(--orange); }

.nav__menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav__link {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width var(--transition);
}

.nav__link:hover::after { width: 100%; }
.nav__link:hover { color: var(--white); }
.nav--scrolled .nav__link:hover { color: var(--orange); }

.nav__link--cta {
    background: var(--orange);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 6px;
    transition: background var(--transition);
}

.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--orange-hover); }

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.nav--scrolled .nav__toggle span { background: var(--navy); }

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero__bg canvas {
    width: 100%;
    height: 100%;
}

/* Hand mixer in hero */
.hero__mixer {
    position: absolute;
    right: 3%;
    bottom: 5%;
    z-index: 2;
    opacity: 0.12;
    pointer-events: none;
}

/* Subtle vibration on mixer body */
.mixer-vibrate {
    animation: vibrate 0.08s linear infinite;
}

@keyframes vibrate {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(0.5px, -0.3px); }
    50%  { transform: translate(-0.5px, 0.3px); }
    75%  { transform: translate(0.3px, 0.5px); }
    100% { transform: translate(-0.3px, -0.5px); }
}

/* Beater full 360° rotation around vertical axis */
.beater-left {
    animation: spinFull 1.6s linear infinite;
    transform-origin: 50% 0%;
}

.beater-right {
    animation: spinFull 1.6s linear infinite;
    animation-delay: -0.8s;
    transform-origin: 50% 0%;
}

@keyframes spinFull {
    0%   { transform: scaleX(1); }
    25%  { transform: scaleX(0); }
    50%  { transform: scaleX(-1); }
    75%  { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s 0.3s forwards;
}

.hero__title-line { display: inline; }
.hero__title-symbol {
    display: inline;
    color: var(--orange);
    margin: 0 8px;
    font-weight: 400;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s 0.6s forwards;
}

.hero__subtitle strong { color: var(--orange); font-weight: 600; }

.hero__cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s 0.9s forwards;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--orange), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn--small {
    padding: 8px 20px;
    font-size: 13px;
}

.btn--primary {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}

.btn--primary:hover {
    background: var(--orange-hover);
    border-color: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 81, 0, 0.3);
}

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

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

.btn--outline-dark {
    background: transparent;
    color: var(--navy);
    border-color: var(--grey-light);
}

.btn--outline-dark:hover {
    border-color: var(--navy);
}

.btn--ghost {
    background: transparent;
    color: var(--grey);
    border-color: transparent;
    text-decoration: underline;
    padding: 8px 12px;
}

.btn--ghost:hover { color: var(--navy); }

.btn--outline-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline-light:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn--full { width: 100%; }

/* --- Section header --- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 16px;
}

.section-header__tag--light { color: var(--gold); }

.section-header__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy);
}

.section-header__title--light { color: var(--white); }

.section-header__sub {
    font-size: 1.05rem;
    color: var(--grey);
    max-width: 560px;
    margin: 16px auto 0;
}

/* --- Services --- */
.services {
    padding: 120px 0;
    background: var(--cream);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--white);
    padding: 48px 40px;
    border-radius: 12px;
    border: 1px solid var(--grey-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--orange);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(13, 27, 42, 0.08);
}

.service-card__icon { margin-bottom: 24px; }

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--navy);
}

.service-card__desc {
    font-size: 0.95rem;
    color: var(--grey);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-card__list {
    list-style: none;
    margin-bottom: 20px;
    padding: 0;
}

.service-card__list li {
    font-size: 0.9rem;
    color: var(--grey);
    line-height: 1.6;
    padding: 4px 0 4px 20px;
    position: relative;
}

.service-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 2px;
    background: var(--orange);
}

.service-card__tagline {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--orange);
    margin-bottom: 20px;
}

.service-card__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}

.service-card__link:hover { gap: 12px; }

/* --- About (full width, no photo) --- */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about__content--full {
    max-width: 900px;
    margin: 0 auto;
}

.about__content--full .section-header__tag {
    display: block;
    text-align: left;
}

.about__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--navy);
    margin-bottom: 32px;
}

.about__text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.about__content p {
    color: var(--grey);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about__quals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.about__qual {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
}


/* --- Insights (dark) --- */
.insights {
    padding: 120px 0;
    background: var(--navy);
}

.insights__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.insight-card--dark {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.insight-card--dark:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(230, 81, 0, 0.2);
}

.insight-card__visual {
    aspect-ratio: 16/10;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Concentric orbit rotation */
.orbit { transform-origin: 60px 60px; }
.orbit--1 { animation: orbitSpin 12s linear infinite; }
.orbit--2 { animation: orbitSpin 8s linear infinite reverse; }
.orbit--3 { animation: orbitSpin 5s linear infinite; }

@keyframes orbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Orbiting dots follow their circle */
.dot { transform-origin: 60px 60px; }
.dot--1 { animation: orbitSpin 12s linear infinite; }
.dot--2 { animation: orbitSpin 8s linear infinite reverse; }
.dot--3 { animation: orbitSpin 5s linear infinite; }

.insight-card__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--orange);
    padding: 24px 28px 0;
}

.insight-card--dark .insight-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--white);
    padding: 10px 28px 0;
}

.insight-card--dark .insight-card__excerpt {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    padding: 8px 28px 0;
}

.insight-card--dark .insight-card__meta {
    padding: 20px 28px 28px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.insight-card__read {
    color: var(--orange);
    font-weight: 600;
    font-size: 13px;
    transition: gap 0.3s;
}

a.insight-card--dark {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    cursor: pointer;
}

a.insight-card--dark:hover .insight-card__read {
    letter-spacing: 1px;
}

/* --- AI News Feed --- */
.ai-news {
    padding: 100px 0;
    background: var(--cream);
}

.ai-news__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    gap: 24px;
    flex-wrap: wrap;
}

.ai-news__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    color: var(--navy);
    margin-top: 8px;
}

.ai-news__live {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ai-news__pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: newsPulse 2s ease-in-out infinite;
}

@keyframes newsPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.ai-news__update-label {
    font-size: 12px;
    color: var(--grey);
    font-weight: 500;
}

.ai-news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.ai-news__loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: var(--grey);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.ai-news__spinner {
    width: 28px;
    height: 28px;
    border: 2px solid var(--grey-light);
    border-top-color: var(--orange);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.news-card {
    background: var(--white);
    border: 1px solid var(--grey-light);
    border-radius: 10px;
    padding: 28px 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(13, 27, 42, 0.08);
    border-color: rgba(230, 81, 0, 0.2);
}

.news-card__source {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 10px;
}

.news-card__title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--navy);
    margin-bottom: 10px;
    flex-grow: 1;
}

.news-card__excerpt {
    font-size: 0.85rem;
    color: var(--grey);
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__date {
    font-size: 11px;
    color: var(--grey);
    opacity: 0.7;
}

/* --- Contact --- */
.contact {
    padding: 120px 0;
    background: var(--cream);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
}

.contact__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1 / -1; }

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--grey-light);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 14px;
    transition: border-color var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
}

.form-group textarea { resize: vertical; }

.contact__form .btn { grid-column: 1 / -1; margin-top: 8px; }

.contact__booking {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 32px;
    border: 1px solid var(--grey-light);
}

.contact__booking h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact__booking p {
    font-size: 0.95rem;
    color: var(--grey);
    margin-bottom: 24px;
    line-height: 1.6;
}

.contact__booking .btn--outline {
    color: var(--navy);
    border-color: var(--navy);
}

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

.contact__details { display: flex; flex-direction: column; gap: 16px; }

.contact__detail {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--grey);
}

.contact__detail a {
    color: var(--navy);
    font-weight: 500;
    transition: color var(--transition);
}

.contact__detail a:hover { color: var(--orange); }

/* --- Footer --- */
.footer {
    padding: 80px 0 40px;
    background: var(--navy);
    color: rgba(255, 255, 255, 0.6);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    margin-bottom: 12px;
}

.footer__logo span {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 2px;
}

.footer__brand p {
    font-size: 14px;
    line-height: 1.6;
}

.footer__nav h4 {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer__nav li { margin-bottom: 10px; }

.footer__nav a {
    font-size: 14px;
    transition: color var(--transition);
}

.footer__nav a:hover { color: var(--orange); }

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.footer__bottom a { transition: color var(--transition); }
.footer__bottom a:hover { color: var(--orange); }

/* --- Cookie Consent --- */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--white);
    box-shadow: 0 -8px 40px rgba(13, 27, 42, 0.12);
    border-top: 1px solid var(--grey-light);
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.cookie-consent--hidden {
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-consent__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-consent__text {
    flex: 1;
    min-width: 280px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cookie-consent__icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-consent__text p {
    font-size: 14px;
    color: var(--grey);
    line-height: 1.6;
}

.cookie-consent__text a {
    color: var(--orange);
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* Cookie settings panel */
.cookie-settings {
    display: none;
    border-top: 1px solid var(--grey-light);
    background: var(--cream);
}

.cookie-settings--open {
    display: block;
}

.cookie-settings__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 24px;
}

.cookie-settings h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--grey-light);
}

.cookie-toggle:last-of-type { border-bottom: none; }

.cookie-toggle__info strong {
    font-size: 14px;
    color: var(--navy);
    display: block;
}

.cookie-toggle__info p {
    font-size: 13px;
    color: var(--grey);
    margin-top: 2px;
}

/* Toggle switch */
.toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
    cursor: pointer;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle__slider {
    position: absolute;
    inset: 0;
    background: var(--grey-light);
    border-radius: 26px;
    transition: var(--transition);
}

.toggle__slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.toggle input:checked + .toggle__slider {
    background: var(--orange);
}

.toggle input:checked + .toggle__slider::before {
    transform: translateX(22px);
}

.toggle--disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-settings .btn {
    margin-top: 20px;
}

/* --- Mobile CTA --- */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 998;
    transform: translateY(0);
    transition: transform var(--transition);
}

.mobile-cta--hidden { transform: translateY(100%); }

/* Hide mobile CTA when cookie consent is visible */
.cookie-consent:not(.cookie-consent--hidden) ~ .mobile-cta {
    transform: translateY(100%);
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services__grid { gap: 24px; }
    .results__grid { gap: 24px; }
    .contact__grid { gap: 48px; }
}

@media (max-width: 768px) {
    .nav__toggle { display: flex; }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        padding: 40px;
        transition: right var(--transition);
    }

    .nav__menu--open { right: 0; }
    .nav__link { color: var(--white) !important; font-size: 18px; }

    .services__grid { grid-template-columns: 1fr; }
    .about__text-grid { grid-template-columns: 1fr; gap: 0; }
    .insights__grid { grid-template-columns: 1fr; }
    .contact__grid { grid-template-columns: 1fr; }
    .contact__form { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

    .mobile-cta { display: block; }
    .hero__mixer { display: none; }
    .hero__title { font-size: clamp(2rem, 8vw, 3rem); }

    .cookie-consent__inner { flex-direction: column; align-items: stretch; }
    .cookie-consent__actions { justify-content: flex-end; }
}

@media (max-width: 480px) {
    .hero__cta { flex-direction: column; align-items: center; }
    .hero__cta .btn { width: 100%; }
    .about__quals { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .service-card { padding: 32px 24px; }
    .cookie-consent__actions { flex-direction: column; }
    .cookie-consent__actions .btn { width: 100%; }
}

/* Kontakt forma: status i zamka za botove */
.contact__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__status { grid-column: 1 / -1; margin: 4px 0 0; min-height: 1.4em; font-size: 0.95rem; }
.contact__status--ok { color: #2e7d32; }
.contact__status--err { color: #c62828; }
.contact__status a { color: inherit; text-decoration: underline; }
