/* ==========================================================
   LIPOVAC PSIHOLOŠKO SAVJETOVANJE — GLAVNI STYLESHEET
   Svi stilovi sajta su objedinjeni u ovom fajlu.
   ========================================================== */

/* ====================
           OSNOVNO RESETOVANJE
           ==================== */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            width: 100%;
            max-width: 100%;
            overflow-x: hidden;
        }

        body {
            width: 100%;
            max-width: 100%;
            background-color: #f1ebe6;
            overflow-x: hidden;
        }

        .container {
            max-width: 1170px;
            width: 100%;
            margin: 0 auto;
            padding: 0 15px;
        }

/* ====================
           HERO SEKCIJA
           ==================== */
        .hero {
            position: relative;
            z-index: 1;
            padding: 130px 0 120px;
        }

        .hero .container {
            position: relative;
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
        }

        .hero-content {
            z-index: 10;
            width: 100%;
            max-width: 509px;
        }

        .hero-content h1 {
            margin-bottom: 25px;
            font-family: 'Merriweather', serif;
            font-size: 40px;
            font-weight: 700;
            line-height: 1.2;
            color: #444444;
        }

        .hero-content p {
            max-width: 494px;
            margin-bottom: 15px;
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 20px;
            line-height: 1.5;
            color: #58595b;
        }

        .hero-content p:last-of-type {
            margin-bottom: 35px;
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
        }

        .btn {
            height: 40px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0 35px;
            font-family: 'Merriweather', serif;
            font-size: 18px;
            line-height: 1;
            color: #fbf5e6;
            text-decoration: none;
            border-radius: 50px;
            transition:
                opacity 0.2s ease,
                transform 0.2s ease,
                box-shadow 0.25s ease;
        }

        .btn:hover {
            opacity: 0.95;
            transform: translateY(-2px);
            box-shadow: 0 7px 18px rgba(68, 68, 68, 0.12);
        }

        .btn:active {
            transform: translateY(0);
            box-shadow: 0 3px 9px rgba(68, 68, 68, 0.10);
        }

        .btn-primary {
            background-color: #bd5a62;
        }

        .btn-secondary {
            background-color: #f0bc68;
        }

        .hero-graphics {
            position: absolute;
            right: -143px;
            bottom: -120px;
            z-index: 1;
            width: 775px;
            max-width: 100%;
            margin: 0;
        }

        .hero-image {
            width: 100%;
            height: auto;
            display: block;
        }

/* ====================
           ZELENA SEKCIJA (FEATURES)
           ==================== */
        .features-section {
            position: relative;
            z-index: 10;
            width: 100%;
            min-height: 380px;
            display: flex;
            align-items: center;
            margin-top: 0;
            padding: 40px 0;
            background-color: #b7c5be;
            border-top: 8px solid #a3b2ab;
            border-bottom: 8px solid #a3b2ab;
        }

        .features-grid {
            position: relative;
            z-index: 10;
            width: 100%;
            display: flex;
            justify-content: space-between;
            gap: 30px;
        }

        .feature-box {
            flex: 1;
            max-width: 370px;
        }

        .feature-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }

        .feature-header img {
            width: 80px;
            height: 80px;
            display: block;
            flex-shrink: 0;
        }

        .feature-header h3 {
            font-family: 'Merriweather', serif;
            font-size: 30px;
            font-weight: 700;
            line-height: 1.067;
            color: #333333;
        }

        .feature-box p {
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 18px;
            line-height: 1.333;
            color: #444444;
        }

/* ====================
           PSIHOTERAPIJA
           ==================== */
        .therapy-section {
            padding: 55px 0 75px;
            background-color: #f1ebe6;
        }

        .section-intro {
            margin-bottom: 55px;
            text-align: center;
        }

        .section-label {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 18px;
            margin-bottom: 35px;
        }

        .section-label::before,
        .section-label::after {
            content: '';
            width: 170px;
            height: 1px;
            background-color: #b7c5be;
        }

        .section-label span {
            font-family: 'Merriweather', serif;
            font-size: 16px;
            line-height: 1;
            color: #58595b;
            text-transform: uppercase;
            letter-spacing: 5px;
        }

        .section-intro h2 {
            font-family: 'Merriweather', serif;
            font-size: 40px;
            line-height: 1.2;
            font-weight: 700;
            color: #444444;
        }

        .therapy-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            column-gap: 30px;
            row-gap: 45px;
        }

        .therapy-card {
            max-width: 370px;
        }

        .therapy-card h3,
        .therapy-card .therapy-line,
        .therapy-card .therapy-link {
            transition:
                transform 0.3s ease,
                width 0.3s ease,
                color 0.3s ease;
        }

        .therapy-category {
            display: block;
            margin-bottom: 15px;
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 18px;
            line-height: 1.2;
            color: #a9aaa6;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .therapy-line {
            display: block;
            width: 32px;
            height: 3px;
            margin-bottom: 18px;
            background-color: #b7c5be;
        }

        .therapy-card h3 {
            margin-bottom: 14px;
            font-family: 'Merriweather', serif;
            font-size: 30px;
            line-height: 1.067;
            font-weight: 700;
            color: #444444;
        }

        .therapy-card p {
            margin-bottom: 14px;
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 18px;
            line-height: 1.333;
            color: #444444;
        }

        .therapy-link {
            display: inline-block;
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 17px;
            line-height: 1.2;
            color: #f0bc68;
            text-decoration: none;
            letter-spacing: 1px;
            transition: color 0.2s ease, transform 0.3s ease;
        }

        .therapy-link:hover {
            color: #7f9289;
        }

        .therapy-extra {
            display: none;
        }

        .therapy-extra.is-visible {
            display: block;
            animation: extraCardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
            animation-delay: var(--extra-delay, 0ms);
        }

        .therapy-more {
            display: flex;
            justify-content: center;
            margin-top: 65px;
        }

        .therapy-more button {
            border: 0;
            cursor: pointer;
        }

/* ====================
           KAKO POČETI
           ==================== */
        .process-section {
            padding: 70px 0;
            background-color: #b7c5be;
        }

        .process-layout {
            display: grid;
            grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
            align-items: center;
            gap: 70px;
        }

        .process-visual {
            display: flex;
            align-items: center;
            justify-content: flex-start;
        }

        .process-photo-ring {
            width: 570px;
            max-width: 100%;
            aspect-ratio: 1;
            padding: 18px;
            border-radius: 50%;
            background-color: #a9b8b1;
        }

        .process-photo {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background-color: #d9ddd9;
            background-image: url('images/ordinacija.png');
            background-position: center center;
            background-size: 100% 100%;
            background-repeat: no-repeat;
            transition: background-size 0.7s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .process-content {
            max-width: 470px;
            transform: translateY(-10px);
        }

        .process-kicker {
            display: block;
            margin-bottom: 24px;
            font-family: 'Merriweather', serif;
            font-size: 16px;
            line-height: 1;
            color: #fbf5e6;
            text-transform: uppercase;
            letter-spacing: 5px;
        }

        .process-content h2 {
            margin-bottom: 34px;
            font-family: 'Merriweather', serif;
            font-size: 40px;
            line-height: 1.2;
            font-weight: 700;
            color: #444444;
        }

        .process-steps {
            display: flex;
            flex-direction: column;
            gap: 28px;
        }

        .process-step {
            display: grid;
            grid-template-columns: 58px 1fr;
            align-items: start;
            gap: 20px;
            transition: transform 0.3s ease;
        }

        .process-number {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 58px;
            height: 58px;
            border-radius: 50%;
            background-color: #a9b8b1;
            font-family: 'Merriweather', serif;
            font-size: 30px;
            line-height: 1;
            font-weight: 700;
            color: #58595b;
            transition:
                transform 0.3s ease,
                background-color 0.3s ease;
        }

        .process-step h3 {
            margin-bottom: 4px;
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 20px;
            line-height: 1.15;
            font-weight: 700;
            color: #444444;
            text-transform: uppercase;
        }

        .process-step p {
            max-width: 360px;
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 18px;
            line-height: 1.333;
            color: #444444;
            text-wrap: balance;
        }

/* ====================
           FAQ / PITANJA
           ==================== */
        .faq-section {
            padding: 78px 0 82px;
            background-color: #f1ebe6;
        }

        .faq-intro {
            margin-bottom: 28px;
            text-align: center;
        }

        .faq-label {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 18px;
            margin-bottom: 34px;
        }

        .faq-label::before,
        .faq-label::after {
            content: '';
            width: 170px;
            height: 1px;
            background-color: #b7c5be;
        }

        .faq-label span {
            font-family: 'Merriweather', serif;
            font-size: 16px;
            line-height: 1;
            color: #58595b;
            text-transform: uppercase;
            letter-spacing: 5px;
        }

        .faq-intro h2 {
            font-family: 'Merriweather', serif;
            font-size: 40px;
            font-weight: 700;
            line-height: 1.2;
            color: #444444;
        }

        .faq-list {
            width: 100%;
            max-width: 850px;
            margin: 0 auto;
        }

        .faq-item {
            border-bottom: 1px solid #c8cfcb;
        }

        .faq-question,
        .faq-question-static {
            width: 100%;
            display: grid;
            grid-template-columns: 20px 1fr;
            align-items: start;
            gap: 12px;
            padding: 20px 0;
            color: #444444;
        }

        .faq-question {
            font: inherit;
            text-align: left;
            background: none;
            border: 0;
            cursor: pointer;
        }

        .faq-symbol {
            display: block;
            padding-top: 1px;
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 24px;
            font-weight: 700;
            line-height: 1;
            color: #58595b;
            transform-origin: center;
            transition: transform 0.3s ease, color 0.3s ease;
        }

        .faq-item.is-open .faq-symbol {
            transform: rotate(180deg);
        }

        .faq-question-text {
            font-family: 'Merriweather', serif;
            font-size: 26px;
            font-weight: 700;
            line-height: 1.2;
            color: #444444;
        }

        .faq-answer {
            display: grid;
            grid-template-rows: 0fr;
            padding: 0 0 0 32px;
            opacity: 0;
            transition:
                grid-template-rows 0.38s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.25s ease,
                padding-bottom 0.38s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .faq-answer > p {
            min-height: 0;
            overflow: hidden;
        }

        .faq-item.is-open .faq-answer,
        .faq-item.faq-fixed .faq-answer {
            grid-template-rows: 1fr;
            padding-bottom: 22px;
            opacity: 1;
        }

        .faq-answer p {
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 18px;
            line-height: 1.4;
            color: #58595b;
        }

        .faq-more {
            display: flex;
            justify-content: center;
            margin-top: 60px;
        }

/* ====================
           RESPONZIVNOST
           ==================== */
        @media (max-width: 1024px) {
            .hero {
                padding: 120px 0 80px;
            }

            .hero-graphics {
                right: -70px;
                bottom: -80px;
                width: 425px;
                max-width: 425px;
                margin-right: 0;
            }

            .features-grid {
                gap: 20px;
            }
        }

        /* Pejzažni tablet i manji laptop — kompaktni hero bez desnog preliva. */
        @media (min-width: 1025px) and (max-width: 1440px) and (orientation: landscape) {
            .hero {
                padding: 50px 0 90px;
            }

            .hero-graphics {
                right: -27px;
                bottom: -110px;
                width: 659px;
                max-width: 659px;
            }
        }

        @media (max-width: 992px) {
            .logo img {
                max-width: 250px;
            }

            .hamburger {
                display: flex;
            }

            .nav-links {
                position: absolute;
                top: 120px;
                left: 0;
                z-index: 99;
                display: none;
                flex-direction: column;
                width: 100%;
                padding: 20px;
                gap: 20px;
                background-color: #f1ebe6;
                box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
            }

            .nav-links.active {
                display: flex;
            }

            .has-submenu > a {
                z-index: auto;
            }

            .submenu {
                position: static;
                display: none;
                width: 100%;
                padding: 10px 0 0 15px;
                background-color: transparent;
                border-radius: 0;
                box-shadow: none;
                opacity: 1;
                visibility: visible;
                pointer-events: auto;
                transform: none;
            }

            .submenu::before {
                display: none;
            }

            .has-submenu:hover .submenu,
            .has-submenu:focus-within .submenu {
                display: block;
                transform: none;
            }

            .therapy-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .therapy-card {
                max-width: none;
            }
        }

        /* Uspravni tablet — hero bez gužvanja i pregledniji feature blokovi. */
        @media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
            .hero {
                padding: 70px 0 0;
            }

            .hero .container {
                flex-direction: column;
                align-items: center;
                gap: 40px;
                text-align: center;
            }

            .hero-content,
            .hero-content p {
                max-width: 650px;
            }

            .hero-buttons {
                justify-content: center;
            }

            .hero-graphics {
                position: static;
                right: auto;
                bottom: auto;
                width: 425px;
                max-width: 100%;
                margin: 0;
            }

            .features-section {
                margin-top: 0;
                padding: 50px 0;
            }

            .features-grid {
                flex-wrap: wrap;
                justify-content: center;
                gap: 40px 20px;
            }

            .feature-box {
                flex: 0 1 calc(50% - 10px);
                max-width: 370px;
            }
        }

        @media (max-width: 768px) {
            .top-bar .container {
                justify-content: center;
                text-align: center;
            }

            .nav-links {
                top: 150px;
            }

            .hero {
                padding: 60px 0 0;
            }

            .hero .container {
                flex-direction: column;
                align-items: center;
                gap: 50px;
                text-align: center;
            }

            .hero-content {
                max-width: 100%;
            }

            .hero-content p {
                max-width: 100%;
            }

            .hero-buttons {
                justify-content: center;
                flex-wrap: wrap;
            }

            .hero-graphics {
                position: static;
                right: auto;
                bottom: auto;
                width: 100%;
                max-width: 400px;
                margin: 0;
            }

            .features-section {
                margin-top: 0;
                border-top-width: 4px;
                border-bottom-width: 4px;
            }

            .features-grid {
                flex-direction: column;
                align-items: center;
                gap: 40px;
            }

            .feature-box {
                max-width: 100%;
                text-align: center;
            }

            .feature-header {
                flex-direction: column;
                justify-content: center;
                text-align: center;
            }

            .therapy-section {
                padding: 50px 0;
            }

            .section-label::before,
            .section-label::after {
                width: 50px;
            }

            .section-label span {
                font-size: 14px;
                letter-spacing: 3px;
            }

            .section-intro h2 {
                font-size: 32px;
            }

            .therapy-grid {
                grid-template-columns: 1fr;
                row-gap: 40px;
            }

            .therapy-card {
                max-width: 500px;
                margin: 0 auto;
            }

            .therapy-more {
                margin-top: 45px;
            }

            .faq-section {
                padding: 55px 0 60px;
            }

            .faq-label::before,
            .faq-label::after {
                width: 50px;
            }

            .faq-label span {
                font-size: 14px;
                letter-spacing: 3px;
            }

            .faq-intro h2 {
                font-size: 32px;
            }

            .faq-question-text {
                font-size: 22px;
            }

            .faq-answer {
                padding-left: 32px;
            }

            .faq-answer p {
                font-size: 17px;
            }
        }


        @media (max-width: 992px) {
            .process-layout {
                grid-template-columns: 1fr 1fr;
                gap: 40px;
            }

            .process-photo-ring {
                width: 460px;
            }

            .process-content h2 {
                font-size: 40px;
            }

            .process-step {
                grid-template-columns: 52px 1fr;
                gap: 15px;
            }

            .process-number {
                width: 52px;
                height: 52px;
                font-size: 26px;
            }
        }

        @media (max-width: 768px) {
            .process-section {
                padding: 55px 0 60px;
            }

            .process-layout {
                grid-template-columns: 1fr;
                gap: 45px;
            }

            .process-visual {
                justify-content: center;
            }

            .process-photo-ring {
                width: min(100%, 480px);
                padding: 12px;
            }

            .process-content {
                max-width: 520px;
                margin: 0 auto;
                transform: none;
            }

            .process-kicker {
                margin-bottom: 18px;
                font-size: 14px;
                letter-spacing: 3px;
            }

            .process-content h2 {
                margin-bottom: 30px;
                font-size: 32px;
            }

            .process-steps {
                gap: 24px;
            }
        }

        @media (max-width: 480px) {
            .process-step {
                grid-template-columns: 46px 1fr;
                gap: 13px;
            }

            .process-number {
                width: 46px;
                height: 46px;
                font-size: 23px;
            }

            .process-step h3 {
                font-size: 18px;
            }

            .process-step p {
                font-size: 17px;
            }

            .faq-question,
            .faq-question-static {
                grid-template-columns: 18px 1fr;
                gap: 9px;
                padding: 18px 0;
            }

            .faq-symbol {
                font-size: 21px;
            }

            .faq-question-text {
                font-size: 20px;
            }

            .faq-answer {
                padding-left: 27px;
            }
        }

/* ====================
   ARTICLE / TERAPIJSKE STRANICE
   ==================== */
/* ====================
           ARTICLE PAGE
           ==================== */
        .article-hero {
            position: relative;
            background-color: #f1ebe6;
            overflow: hidden;
        }

        .article-hero .container {
            height: 380px;
            display: flex;
            align-items: center;
            background-image:
                linear-gradient(rgba(40, 40, 40, 0.08), rgba(40, 40, 40, 0.08)),
                url('images/anksioznost.png');
            background-position: center center;
            background-size: cover;
            background-repeat: no-repeat;
        }

        .article-hero h1 {
            font-family: 'Merriweather', serif;
            font-size: 42px;
            line-height: 1.15;
            font-weight: 700;
            color: #fbf5e6;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.13);
        }

        .article-section {
            background-color: #f1ebe6;
            padding: 58px 0 72px;
        }

        .article-layout {
            display: grid;
            grid-template-columns: minmax(0, 770px) 245px;
            justify-content: space-between;
            gap: 70px;
            align-items: start;
        }

        .article-main {
            min-width: 0;
        }

        .article-lead {
            margin-bottom: 24px;
        }

        .article-main p,
        .article-answer-inner p,
        .article-answer-inner li {
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 18px;
            line-height: 1.5;
            color: #666666;
        }

        .article-main p + p,
        .article-answer-inner p + p {
            margin-top: 14px;
        }

        .article-accordion {
            margin-top: 18px;
        }

        .article-accordion .faq-item {
            border-bottom: 1px solid #c8cfcb;
        }

        .article-accordion .faq-question,
        .article-accordion .faq-question-static {
            grid-template-columns: 18px 1fr;
            gap: 10px;
            padding: 18px 0;
        }

        .article-accordion .faq-question-text {
            font-size: 24px;
            line-height: 1.25;
        }

        .article-accordion .faq-answer {
            padding-left: 28px;
        }

        .article-accordion .faq-answer > .article-answer-inner {
            min-height: 0;
            overflow: hidden;
        }

        .article-accordion .faq-item.is-open .faq-answer,
        .article-accordion .faq-item.faq-fixed .faq-answer {
            padding-bottom: 22px;
        }

        .article-answer-inner ul {
            margin: 10px 0 14px 18px;
            padding: 0;
        }

        .article-answer-inner li + li {
            margin-top: 3px;
        }

        .article-sidebar {
            position: sticky;
            top: 28px;
            padding-top: 2px;
        }

        .article-sidebar h2 {
            margin-bottom: 18px;
            font-family: 'Merriweather', serif;
            font-size: 16px;
            line-height: 1.2;
            font-weight: 400;
            letter-spacing: 5px;
            text-transform: uppercase;
            color: #58595b;
        }

        .article-quicklinks {
            list-style: none;
        }

        .article-quicklinks li + li {
            margin-top: 5px;
        }

        .article-quicklinks a {
            position: relative;
            display: inline-block;
            padding-left: 12px;
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 16px;
            line-height: 1.35;
            color: #666666;
            text-decoration: none;
            transition: color 0.2s ease, transform 0.2s ease;
        }

        .article-quicklinks a::before {
            content: '•';
            position: absolute;
            left: 0;
            top: 0;
        }

        .article-quicklinks a:hover,
        .article-quicklinks a[aria-current="page"] {
            color: #444444;
            transform: translateX(2px);
        }

        .article-features {
            background-color: #f1ebe6;
            padding: 18px 0 68px;
        }

        .article-features .features-grid {
            align-items: start;
            align-items: stretch;
        }

        .article-features .feature-box {
            max-width: 370px;
            background-color: #f7f3ef;
            padding: 24px 24px 26px;
            min-height: 100%;

        }

        .article-features .feature-header {
            margin-bottom: 18px;
        }

        .article-features .feature-header img {
            width: 64px;
            height: 64px;
        }

        .article-features .feature-header h3 {
            font-size: 26px;
            line-height: 1.08;
        }

        .article-features .feature-box p {
            font-size: 16px;
            line-height: 1.5;
            color: #666666;
        }

        @media (max-width: 992px) {
            .article-layout {
                grid-template-columns: minmax(0, 1fr) 210px;
                gap: 45px;
            }

            .article-hero h1 {
                font-size: 38px;
            }

            .article-sidebar h2 {
                letter-spacing: 4px;
            }
        }

        @media (max-width: 768px) {
            .article-hero .container {
                height: 300px;
            }

            .article-hero h1 {
                font-size: 34px;
            }

            .article-section {
                padding: 44px 0 52px;
            }

            .article-layout {
                grid-template-columns: 1fr;
                gap: 45px;
            }

            .article-sidebar {
                position: static;
                order: 2;
                padding-top: 0;
            }

            .article-sidebar h2 {
                margin-bottom: 15px;
            }

            .article-quicklinks {
                columns: 2;
                column-gap: 25px;
            }

            .article-quicklinks li {
                break-inside: avoid;
            }

            .article-accordion .faq-question-text {
                font-size: 22px;
            }

            .article-features {
                padding: 10px 0 55px;
            }

            .article-features .feature-header img {
                width: 70px;
                height: 70px;
            }

            .article-features .feature-header h3 {
                font-size: 25px;
            }
        }

        @media (max-width: 480px) {
            .article-hero .container {
                height: 250px;
            }

            .article-hero h1 {
                font-size: 30px;
            }

            .article-main p,
            .article-answer-inner p,
            .article-answer-inner li {
                font-size: 17px;
            }

            .article-accordion .faq-question-text {
                font-size: 20px;
            }

            .article-quicklinks {
                columns: 1;
            }
        }

/* ====================
   O MENI STRANICA
   ==================== */
/* ====================
           O MENI PAGE
           ==================== */
        .about-hero {
            position: relative;
            background-color: #f1ebe6;
            overflow: hidden;
        }

        .about-hero .container {
            display: flex;
            align-items: center;
            height: 380px;
            padding: 0 15px;
            background-image:
                linear-gradient(rgba(40, 40, 40, 0.08), rgba(40, 40, 40, 0.08)),
                url('images/o-meni.png');
            background-position: center center;
            background-size: cover;
            background-repeat: no-repeat;
        }

        .about-hero-title {
            display: flex;
            align-items: center;
            padding: 0;
            background-color: transparent;
        }

        .about-hero h1 {
            font-family: 'Merriweather', serif;
            font-size: 42px;
            line-height: 1.15;
            font-weight: 700;
            color: #fbf5e6;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.13);
        }

        .about-hero-image {
            display: none;
        }

        .about-section {
            background-color: #f1ebe6;
            padding: 58px 0 72px;
        }

        .about-layout {
            display: grid;
            grid-template-columns: minmax(0, 770px) 245px;
            justify-content: space-between;
            gap: 70px;
            align-items: start;
        }

        .about-main {
            min-width: 0;
        }

        .about-main > p,
        .about-answer-inner p,
        .about-answer-inner li {
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 18px;
            line-height: 1.5;
            color: #666666;
        }

        .about-main > p + p,
        .about-answer-inner p + p {
            margin-top: 16px;
        }

        .about-answer-inner h3 {
            margin: 28px 0 12px;
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 21px;
            line-height: 1.3;
            font-weight: 700;
            color: #555555;
        }

        .about-answer-inner h3:first-child {
            margin-top: 0;
        }

        .about-answer-inner h3 + p {
            margin-top: 0;
        }

        .about-answer-inner a {
            color: #5f786f;
            font-weight: 700;
            text-decoration: underline;
            text-decoration-thickness: 1px;
            text-underline-offset: 3px;
        }

        .about-answer-inner a:hover,
        .about-answer-inner a:focus-visible {
            color: #3f5b50;
        }

        .about-accordion {
            margin-top: 22px;
        }

        .about-accordion .faq-item {
            border-bottom: 1px solid #c8cfcb;
        }

        .about-accordion .faq-question,
        .about-accordion .faq-question-static {
            grid-template-columns: 18px 1fr;
            gap: 10px;
            padding: 18px 0;
        }

        .about-accordion .faq-question-text {
            font-size: 24px;
            line-height: 1.25;
        }

        .about-accordion .faq-answer {
            padding-left: 28px;
        }

        .about-accordion .faq-answer > .about-answer-inner {
            min-height: 0;
            overflow: hidden;
        }

        .about-accordion .faq-item.is-open .faq-answer,
        .about-accordion .faq-item.faq-fixed .faq-answer {
            padding-bottom: 22px;
        }

        .about-sidebar {
            position: sticky;
            top: 28px;
            padding-top: 2px;
        }

        .about-sidebar-block + .about-sidebar-block {
            margin-top: 42px;
        }

        .about-sidebar h2 {
            margin-bottom: 18px;
            font-family: 'Merriweather', serif;
            font-size: 16px;
            line-height: 1.2;
            font-weight: 400;
            letter-spacing: 5px;
            text-transform: uppercase;
            color: #58595b;
        }

        .about-quicklinks {
            list-style: none;
        }

        .about-quicklinks li + li {
            margin-top: 5px;
        }

        .about-quicklinks a {
            position: relative;
            display: inline-block;
            padding-left: 12px;
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 16px;
            line-height: 1.35;
            color: #666666;
            text-decoration: none;
            transition: color 0.2s ease, transform 0.2s ease;
        }

        .about-quicklinks a::before {
            content: '•';
            position: absolute;
            left: 0;
            top: 0;
        }

        .about-quicklinks a:hover {
            color: #444444;
            transform: translateX(2px);
        }

        .about-contact-group + .about-contact-group {
            margin-top: 12px;
        }

        .about-contact strong,
        .about-contact p,
        .about-contact a {
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 16px;
            line-height: 1.4;
            color: #666666;
        }

        .about-contact strong {
            display: block;
            margin-bottom: 2px;
            font-weight: 700;
            text-transform: uppercase;
            color: #58595b;
        }

        .about-contact a {
            text-decoration: none;
        }

        .about-contact a:hover {
            color: #444444;
        }

        .about-features {
            background-color: #f1ebe6;
            padding: 18px 0 68px;
        }

        .about-features .features-grid {
            align-items: start;
            align-items: stretch;
        }

        .about-features .feature-box {
            max-width: 370px;
            background-color: #f7f3ef;
            padding: 24px 24px 26px;
            min-height: 100%;
            border-radius: 20px;

        }

        .about-features .feature-header {
            margin-bottom: 18px;
        }

        .about-features .feature-header img {
            width: 64px;
            height: 64px;
        }

        .about-features .feature-header h3 {
            font-size: 26px;
            line-height: 1.08;
        }

        .about-features .feature-box p {
            font-size: 16px;
            line-height: 1.5;
            color: #666666;
        }

        @media (max-width: 992px) {
            .about-hero h1 {
                font-size: 38px;
            }

            .about-layout {
                grid-template-columns: minmax(0, 1fr) 210px;
                gap: 45px;
            }

            .about-sidebar h2 {
                letter-spacing: 4px;
            }
        }

        @media (max-width: 768px) {
            .about-hero .container {
                height: 300px;
                padding: 0 15px;
            }

            .about-hero-title {
                min-height: 0;
                padding: 0;
            }

            .about-hero h1 {
                font-size: 34px;
            }

            .about-section {
                padding: 44px 0 52px;
            }

            .about-layout {
                grid-template-columns: 1fr;
                gap: 45px;
            }

            .about-sidebar {
                position: static;
                order: 2;
                padding-top: 0;
            }

            .about-quicklinks {
                columns: 2;
                column-gap: 25px;
            }

            .about-quicklinks li {
                break-inside: avoid;
            }

            .about-accordion .faq-question-text {
                font-size: 22px;
            }

            .about-features {
                padding: 10px 0 55px;
            }

            .about-features .feature-header img {
                width: 70px;
                height: 70px;
            }

            .about-features .feature-header h3 {
                font-size: 25px;
            }
        }

        @media (max-width: 480px) {
            .about-hero .container {
                height: 250px;
            }

            .about-hero h1 {
                font-size: 30px;
            }

            .about-main > p,
            .about-answer-inner p,
            .about-answer-inner li {
                font-size: 17px;
            }

            .about-accordion .faq-question-text {
                font-size: 20px;
            }

            .about-answer-inner h3 {
                font-size: 19px;
            }

            .about-quicklinks {
                columns: 1;
            }
        }

/* ====================
           KONTAKT PAGE
           ==================== */
        .contact-hero {
            position: relative;
            background-color: #f1ebe6;
            overflow: visible;
        }

        .contact-hero .container {
            position: relative;
            z-index: 2;
            height: 380px;
            display: flex;
            align-items: center;
            background-color: #c9d1cd;
            background-image: url('images/ordinacija_2.jpg');
            background-position: center 55%;
            background-size: cover;
            background-repeat: no-repeat;
        }

        .contact-hero h1 {
            margin-top: -18px;
            font-family: 'Merriweather', serif;
            font-size: 48px;
            line-height: 1.12;
            font-weight: 700;
            color: #fbf5e6;
            text-shadow: 0 3px 18px rgba(0, 0, 0, 0.18);
        }

        .contact-cards-wrap {
            position: relative;
            z-index: 10;
            margin-top: -48px;
        }

        .contact-cards {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            max-width: 1032px;
            margin: 0 auto;
            gap: 28px;
        }

        .contact-card {
            height: 170px;
            min-height: 170px;
            box-sizing: border-box;
            padding: 14px 28px 16px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            background-color: #f7f3ef;
            border: 1px solid rgba(183, 197, 190, 0.34);
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(68, 68, 68, 0.07);
            transition:
                transform 0.28s ease,
                box-shadow 0.28s ease,
                border-color 0.28s ease;
        }

        .contact-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 14px 34px rgba(68, 68, 68, 0.10);
            border-color: rgba(157, 173, 165, 0.55);
        }

        .contact-card-icon {
            width: 70px;
            height: 70px;
            margin-bottom: 8px;
            display: block;
            object-fit: contain;
            flex-shrink: 0;
        }

        .contact-card h2 {
            margin-bottom: 2px;
            font-family: 'Merriweather', serif;
            font-size: 20px;
            line-height: 1.2;
            font-weight: 700;
            color: #444444;
        }

        .contact-card p {
            margin: 0;
        }

        .contact-card p,
        .contact-card a {
            text-align: center;
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 17px;
            line-height: 1.5;
            color: #666666;
        }

        .contact-card a {
            text-decoration: none;
            text-underline-offset: 3px;
            transition: color 0.2s ease;
        }

        .contact-card a:hover {
            color: #3f5149;
            text-decoration: underline;
        }

        .contact-form-section {
            background-color: #f1ebe6;
            padding: 78px 0 76px;
        }

        .contact-form-intro {
            max-width: 760px;
            margin: 0 auto 46px;
            text-align: center;
        }

        .contact-form-intro h2 {
            margin-bottom: 14px;
            font-family: 'Merriweather', serif;
            font-size: 40px;
            line-height: 1.2;
            font-weight: 700;
            color: #444444;
        }

        .contact-form-intro p {
            max-width: 680px;
            margin: 0 auto;
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 18px;
            line-height: 1.55;
            color: #666666;
        }

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

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

        .form-field {
            min-width: 0;
        }

        .form-field.form-span-2 {
            grid-column: span 2;
        }

        .form-field.form-span-3 {
            grid-column: 1 / -1;
        }

        .form-field label {
            display: block;
            margin-bottom: 8px;
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 16px;
            line-height: 1.2;
            color: #60645f;
        }

        .form-field input,
        .form-field select,
        .form-field textarea {
            width: 100%;
            border: 1px solid #d3cec8;
            border-radius: 8px;
            outline: none;
            background-color: #fbf8f5;
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 17px;
            color: #444444;
            transition:
                border-color 0.2s ease,
                background-color 0.2s ease,
                box-shadow 0.2s ease;
        }

        .form-field input,
        .form-field select {
            height: 50px;
            padding: 0 14px;
        }

        .form-field textarea {
            min-height: 170px;
            padding: 13px 14px;
            resize: vertical;
        }

        .form-field input:hover,
        .form-field select:hover,
        .form-field textarea:hover {
            border-color: #c4c9c5;
        }

        .form-field input:focus,
        .form-field select:focus,
        .form-field textarea:focus {
            border-color: #8fa29a;
            background-color: #ffffff;
            box-shadow: 0 0 0 3px rgba(143, 162, 154, 0.12);
        }

        .form-field select {
            appearance: none;
            background-image:
                linear-gradient(45deg, transparent 50%, #7f9289 50%),
                linear-gradient(135deg, #7f9289 50%, transparent 50%);
            background-position:
                calc(100% - 18px) 22px,
                calc(100% - 13px) 22px;
            background-size: 5px 5px, 5px 5px;
            background-repeat: no-repeat;
            padding-right: 38px;
        }

        .turnstile-wrap {
            margin-top: 22px;
            max-width: 100%;
        }

        .form-optional-note {
            margin-top: 10px;
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 14px;
            font-weight: 700;
            color: #bd5a62;
        }

        .form-footer {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            align-items: center;
            gap: 42px;
            margin-top: 24px;
        }

        .privacy-note {
            display: flex;
            align-items: center;
            gap: 17px;
            min-width: 0;
        }

        .privacy-note img {
            width: 52px;
            height: 52px;
            object-fit: contain;
            flex: 0 0 52px;
            opacity: 0.72;
        }

        .privacy-note p {
            margin: 0;
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 16px;
            line-height: 1.45;
            color: #666666;
        }

        .privacy-note strong {
            color: #555555;
            font-weight: 700;
        }

        .contact-submit {
            min-width: 170px;
            height: 48px;
            border: 0;
            cursor: pointer;
            white-space: nowrap;
            font-size: 20px;
        }

        .contact-submit:focus-visible,
        .contact-card a:focus-visible {
            outline: 3px solid rgba(143, 162, 154, 0.35);
            outline-offset: 3px;
        }

        .form-status {
            max-width: 900px;
            margin: 0 auto 34px;
            padding: 15px 18px;
            border-left: 4px solid transparent;
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 16px;
            line-height: 1.45;
        }

        .form-status.success {
            background-color: #e3ece6;
            border-left-color: #7f9d88;
            color: #3f5a48;
        }

        .form-status.error {
            background-color: #f3e2e2;
            border-left-color: #bd5a62;
            color: #7c3f43;
        }

        .hp-field {
            position: absolute !important;
            left: -9999px !important;
            width: 1px !important;
            height: 1px !important;
            overflow: hidden !important;
            opacity: 0 !important;
            pointer-events: none !important;
        }

        .contact-map-section {
            width: 100%;
            background-color: #f1ebe6;
            padding: 0;
            margin: 0;
            overflow: hidden;
        }

        .contact-map {
            width: 100%;
            height: 300px;
            display: block;
            border: 0;
            filter: grayscale(100%) saturate(0%) contrast(0.92) brightness(1.04);
        }

        @media (max-width: 992px) {
            .contact-cards {
                gap: 18px;
            }

            .contact-card {
                padding: 24px 24px;
            }
        }

        @media (max-width: 768px) {
            .contact-hero .container {
                height: 300px;
                background-position: center center;
            }

            .contact-hero h1 {
                margin-top: 0;
                font-size: 36px;
            }

            .contact-cards-wrap {
                margin-top: -32px;
            }

            .contact-cards {
                grid-template-columns: 1fr;
                gap: 14px;
            }

            .contact-card {
                min-height: 0;
            }

            .contact-form-section {
                padding: 58px 0 62px;
            }

            .contact-form-intro {
                margin-bottom: 36px;
            }

            .contact-form-intro h2 {
                font-size: 32px;
            }

            .form-grid {
                grid-template-columns: 1fr;
                gap: 18px;
            }

            .form-field.form-span-2,
            .form-field.form-span-3 {
                grid-column: auto;
            }

            .form-footer {
                grid-template-columns: 1fr;
                align-items: stretch;
                gap: 24px;
            }

            .contact-submit {
                justify-self: start;
            }

            .contact-map {
                height: 280px;
            }
        }

        @media (max-width: 480px) {
            .contact-hero .container {
                height: 250px;
            }

            .contact-hero h1 {
                font-size: 31px;
            }

            .contact-card {
                padding: 22px 20px;
            }

            .contact-card-icon {
                width: 64px;
                height: 64px;
            }

            .contact-form-intro p {
                font-size: 17px;
            }

            .privacy-note {
                align-items: flex-start;
            }

            .privacy-note img {
                width: 46px;
                height: 46px;
                flex-basis: 46px;
            }

            .contact-submit {
                width: 100%;
            }

            .contact-map {
                height: 250px;
            }
        }

/* ====================
           VALIDACIJA FORME + STATUS
           ==================== */
        .form-field.has-error input,
        .form-field.has-error select,
        .form-field.has-error textarea {
            border-color: #bd5a62;
            background-color: #fffafa;
            box-shadow: 0 0 0 3px rgba(189, 90, 98, 0.08);
        }

        .field-error {
            display: none;
            margin-top: 7px;
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 14px;
            line-height: 1.35;
            color: #a84951;
        }

        .form-field.has-error .field-error {
            display: block;
        }

        .form-status {
            max-width: 760px;
            margin: 0 auto 46px;
            padding: 24px 28px;
            display: grid;
            grid-template-columns: 52px minmax(0, 1fr);
            gap: 19px;
            align-items: center;
            border: 1px solid transparent;
            border-radius: 20px;
            box-shadow: 0 12px 34px rgba(68, 68, 68, 0.09);
        }

        .form-status::before {
            width: 52px;
            height: 52px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            font-family: 'Merriweather', serif;
            font-size: 25px;
            line-height: 1;
            font-weight: 700;
        }

        .form-status:focus {
            outline: none;
        }

        .form-status.success {
            background-color: #e4eee8;
            border-color: #b9cec2;
            color: #3f5a48;
        }

        .form-status.success::before {
            content: '✓';
            background-color: #bfd4c6;
            color: #365644;
        }

        .form-status.error {
            background-color: #f4e3e4;
            border-color: #dfbec2;
            color: #7c3f43;
        }

        .form-status.error::before {
            content: '!';
            background-color: #e5c1c5;
            color: #8b4248;
        }

        .form-status-content strong {
            display: block;
            margin-bottom: 5px;
            font-family: 'Merriweather', serif;
            font-size: 19px;
            line-height: 1.3;
            font-weight: 700;
        }

        .form-status-content span {
            display: block;
            font-family: 'Roboto Condensed', sans-serif;
            font-size: 16px;
            line-height: 1.5;
        }

        @media (max-width: 480px) {
            .form-status {
                grid-template-columns: 44px minmax(0, 1fr);
                gap: 15px;
                padding: 20px;
                border-radius: 18px;
            }

            .form-status::before {
                width: 44px;
                height: 44px;
                font-size: 22px;
            }

            .form-status-content strong {
                font-size: 17px;
            }

            .form-status-content span {
                font-size: 15px;
            }
        }

/* ====================
           SUPTILNE ANIMACIJE
           ==================== */
        html {
            scroll-behavior: smooth;
        }

        /* Hero se pojavljuje mirno pri učitavanju stranice. */
        .hero-content {
            animation: heroContentIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
        }

        .hero-graphics {
            animation: heroVisualIn 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
        }

        /* Elementi koje JS aktivira pri ulasku u viewport. */
        .reveal-item {
            opacity: 0;
            transform: translateY(18px);
            transition:
                opacity 0.65s ease var(--reveal-delay, 0ms),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
            will-change: opacity, transform;
        }

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

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

        @keyframes heroVisualIn {
            from {
                opacity: 0;
                transform: translateY(18px) scale(0.992);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

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

        @media (hover: hover) and (pointer: fine) {
            .feature-header img {
                transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
            }

            .feature-box:hover .feature-header img {
                transform: translateY(-3px);
            }

            .therapy-card:hover .therapy-line {
                width: 54px;
            }

            .therapy-card:hover .therapy-link {
                transform: translateX(4px);
                color: #7f9289;
            }

            .process-photo-ring:hover .process-photo {
                background-size: 103% 103%;
            }

            .process-step:hover {
                transform: translateX(3px);
            }

            .process-step:hover .process-number {
                transform: scale(1.04);
                background-color: #9fafa7;
            }

            .faq-question:hover .faq-question-text {
                color: #58595b;
            }

            .faq-question:hover .faq-symbol {
                color: #7f9289;
            }

            .footer-nav a {
                transition: opacity 0.2s ease, transform 0.2s ease;
            }

            .footer-nav a:hover {
                display: inline-block;
                transform: translateX(3px);
            }
        }

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

            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
                transition-delay: 0ms !important;
            }

            .reveal-item {
                opacity: 1 !important;
                transform: none !important;
            }
        }

/* ====================
           TYPOGRAFSKA UJEDNAČAVANJA
           ==================== */
        .feature-box p,
        .therapy-card p,
        .faq-answer p {
            color: #666666;
            line-height: 1.5;
        }

    
        .turnstile-wrap {
            margin-top: 22px;
            max-width: 100%;
        }


/* ==========================================================
   SHARED HEADER / DROPDOWN / SIDEBAR / FOOTER
   Ovaj blok je namjerno posljednji i autoritativan.
   ========================================================== */
/* Shared layout: header, dropdown, sidebar and footer */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: #f1ebe6; overflow-x: hidden; }
.container { max-width: 1170px; width: 100%; margin: 0 auto; padding: 0 15px; }

.site-header { position: relative; z-index: 999; }
.top-bar { min-height: 40px; display: flex; align-items: center; background-color: #b7c5be; }
.top-bar .container { display: flex; justify-content: flex-end; }
.contact-info { padding: 8px 0; font-family: 'Roboto Condensed', sans-serif; font-size: 18px; line-height: 1.2; letter-spacing: 1px; color: #444; }
.contact-info a { color: #444; text-decoration: none; }
.main-nav { position: relative; min-height: 120px; display: flex; align-items: center; background-color: #f1ebe6; }
.main-nav .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.logo img { width: 100%; max-width: 300px; height: auto; display: block; }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a { position: relative; display: block; padding: 10px 0; font-family: 'Merriweather', serif; font-size: 17px; line-height: 1.2; letter-spacing: 4px; color: #444; text-transform: uppercase; text-decoration: none; transition: color .22s ease, opacity .22s ease; }
.nav-links > li > a[aria-current="page"] { color: #2f3f3d; }
.arrow { display: inline-block; color: #b7c5be; transform-origin: center; transition: transform .25s ease, color .25s ease; }
.has-submenu > a { z-index: 101; }
.has-submenu:hover > a, .has-submenu:focus-within > a { color: #2f3f3d; }
.has-submenu:hover > a .arrow, .has-submenu:focus-within > a .arrow { color: #8fa29a; transform: rotate(180deg); }
.hover-line::after { content: ''; position: absolute; left: 0; bottom: 4px; width: 100%; height: 2px; background-color: #b7c5be; transform: scaleX(0); transform-origin: center; transition: transform .3s ease; }
.hover-line:hover::after, .hover-line[aria-current="page"]::after { transform: scaleX(1); }
.submenu { position: absolute; top: 0; left: -15px; z-index: 100; display: block; width: 257px; padding: 52px 10px 15px; list-style: none; background-color: #b7c5be; border-radius: 12px; box-shadow: 0 8px 22px rgba(0,0,0,.08); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px); transition: opacity .22s ease, transform .22s ease, visibility .22s; }
.submenu::before { content: ''; position: absolute; top: 43px; left: 10px; right: 10px; height: 1px; background-color: rgba(68,68,68,.12); }
.has-submenu:hover .submenu, .has-submenu:focus-within .submenu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.submenu li { margin-bottom: 2px; }
.submenu a { display: block; padding: 5px 10px; font-family: 'Roboto Condensed', sans-serif; font-size: 18px; line-height: 1.667; letter-spacing: normal; color: #58595b; text-transform: none; text-decoration: none; border-radius: 8px; transition: background-color .2s ease, transform .2s ease, color .2s ease; }
.submenu a:hover,
.submenu a:focus-visible {
    background-color: rgba(241,235,230,.62);
    color: #444;
    transform: translateX(3px);
}

/* Aktivna terapijska stranica u dropdown meniju */
.submenu a[aria-current="page"] {
    background-color: rgba(241,235,230,.92);
    color: #2f3f3d;
    font-weight: 700;
    box-shadow: inset 3px 0 0 rgba(95, 120, 111, .55);
    transform: translateX(3px);
}
.hamburger { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 21px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hamburger span { display: block; width: 100%; height: 3px; background-color: #444; border-radius: 3px; }

.article-sidebar { position: sticky; top: 28px; padding-top: 2px; }
.article-sidebar h2 { margin-bottom: 18px; font-family: 'Merriweather', serif; font-size: 16px; line-height: 1.2; font-weight: 400; letter-spacing: 5px; text-transform: uppercase; color: #58595b; }
.article-quicklinks { list-style: none; }
.article-quicklinks li + li { margin-top: 5px; }
.article-quicklinks a { position: relative; display: inline-block; padding-left: 12px; font-family: 'Roboto Condensed', sans-serif; font-size: 16px; line-height: 1.35; color: #666; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.article-quicklinks a::before { content: '•'; position: absolute; left: 0; top: 0; }
.article-quicklinks a:hover, .article-quicklinks a[aria-current="page"] { color: #444; transform: translateX(2px); }


/* O meni sidebar variant */
.about-sidebar { position: sticky; top: 28px; padding-top: 2px; }
.about-sidebar-block + .about-sidebar-block { margin-top: 42px; }
.about-sidebar h2 { margin-bottom: 18px; font-family: 'Merriweather', serif; font-size: 16px; line-height: 1.2; font-weight: 400; letter-spacing: 5px; text-transform: uppercase; color: #58595b; }
.about-quicklinks { list-style: none; padding: 0; margin: 0; }
.about-quicklinks li { list-style: none; }
.about-quicklinks li + li { margin-top: 5px; }
.about-quicklinks a { position: relative; display: inline-block; padding-left: 12px; font-family: 'Roboto Condensed', sans-serif; font-size: 16px; line-height: 1.35; color: #666; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.about-quicklinks a::before { content: '•'; position: absolute; left: 0; top: 0; }
.about-quicklinks a:hover, .about-quicklinks a[aria-current="page"] { color: #444; transform: translateX(2px); }
.about-contact-group + .about-contact-group { margin-top: 12px; }
.about-contact strong, .about-contact p, .about-contact a { font-family: 'Roboto Condensed', sans-serif; font-size: 16px; line-height: 1.4; color: #666; }
.about-contact strong { display: block; margin-bottom: 2px; font-weight: 700; text-transform: uppercase; color: #58595b; }
.about-contact p { margin: 0; }
.about-contact a { text-decoration: none; }
.about-contact a:hover { color: #444; }

.site-footer { background-color: #dedfd4; color: #444; }
.footer-main { padding: 70px 0 65px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr .85fr 1.15fr; gap: 95px; align-items: start; }
.footer-logo img { display: block; width: 100%; max-width: 300px; height: auto; margin-bottom: 32px; }
.footer-about p { max-width: 410px; font-family: 'Roboto Condensed', sans-serif; font-size: 16px; line-height: 1.55; color: #444; }
.footer-title { margin-bottom: 24px; font-family: 'Merriweather', serif; font-size: 16px; line-height: 1.2; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #444; }
.footer-nav { list-style: none; }
.footer-nav li + li { margin-top: 15px; }
.footer-nav a, .footer-contact p, .footer-contact a { font-family: 'Roboto Condensed', sans-serif; font-size: 16px; color: #444; }
.footer-nav a { line-height: 1.35; text-decoration: none; }
.footer-contact p, .footer-contact a { line-height: 1.4; }
.footer-contact strong { font-weight: 700; }
.footer-contact a { text-decoration: none; }
.footer-contact-group + .footer-contact-group { margin-top: 13px; }
.footer-nav a:hover, .footer-contact a:hover { opacity: .7; }
.footer-bottom { border-top: 1px solid rgba(68,68,68,.16); background-color: #dedfd4; }
.footer-bottom .container { min-height: 58px; display: flex; align-items: center; justify-content: center; text-align: center; }
.footer-bottom p { width: 100%; font-family: 'Roboto Condensed', sans-serif; font-size: 14px; line-height: 1.3; color: #666; }

@media (max-width: 992px) {
    .logo img { max-width: 250px; }
    .hamburger { display: flex; }
    .nav-links { position: absolute; top: 120px; left: 0; z-index: 99; display: none; flex-direction: column; width: 100%; padding: 20px; gap: 20px; background-color: #f1ebe6; box-shadow: 0 10px 15px rgba(0,0,0,.05); }
    .nav-links.active { display: flex; }
    .has-submenu > a { z-index: auto; }
    .submenu { position: static; display: none; width: 100%; padding: 10px 0 0 15px; background-color: transparent; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
    .submenu::before { display: none; }
    .has-submenu:hover .submenu, .has-submenu:focus-within .submenu { display: block; transform: none; }
    .footer-main { padding: 55px 0 50px; }
    .footer-grid { grid-template-columns: 1.4fr .8fr 1fr; gap: 45px; }
    .footer-logo img { max-width: 270px; }
}
@media (max-width: 768px) {
    .about-sidebar { position: static; }
    .top-bar .container { justify-content: center; text-align: center; }
    .nav-links { top: 150px; }
    .article-sidebar { position: static; }
    .footer-main { padding: 45px 0 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 38px; }
    .footer-about p { max-width: 100%; }
    .footer-title { margin-bottom: 18px; }
    .footer-bottom .container { min-height: 64px; }
}
@media (max-width: 480px) {
    .footer-logo img { max-width: 280px; }
    .footer-about p, .footer-nav a, .footer-contact p, .footer-contact a { font-size: 15px; }
    .footer-title { font-size: 15px; }
    .footer-bottom p { font-size: 13px; }
}


/* Cache-fix authoritative desktop adjustments */
@media (min-width: 993px) {
    .site-header .logo img {
        width: 300px;
        max-width: 300px;
    }

    .article-hero.article-hero-anksioznost h1 {
        margin-left: 40px;
    }
}


/* ====================
   TERAPIJSKE STRANICE — POJEDINAČNI HEROI
   ==================== */
.article-hero-depresivnost .container {
    background-image:
        linear-gradient(rgba(40, 40, 40, 0.08), rgba(40, 40, 40, 0.08)),
        url('images/depresivnost.png'),
        url('images/anksioznost.png');
}

.article-hero-traume .container {
    background-image:
        linear-gradient(rgba(40, 40, 40, 0.08), rgba(40, 40, 40, 0.08)),
        url('images/traume.png'),
        url('images/anksioznost.png');
}

.article-hero-stress-burnout .container {
    background-image:
        linear-gradient(rgba(40, 40, 40, 0.08), rgba(40, 40, 40, 0.08)),
        url('images/stress-burnout.png'),
        url('images/anksioznost.png');
}

.article-hero-psihoterapija-za-pomagace .container {
    background-image:
        linear-gradient(rgba(40, 40, 40, 0.08), rgba(40, 40, 40, 0.08)),
        url('images/psihoterapija-za-pomagace.png'),
        url('images/anksioznost.png');
}

.article-hero-partnerska-terapija .container {
    background-image:
        linear-gradient(rgba(40, 40, 40, 0.08), rgba(40, 40, 40, 0.08)),
        url('images/partnerska-terapija.png'),
        url('images/anksioznost.png');
}

.article-hero-zivotne-krize-i-promjene .container {
    background-image:
        linear-gradient(rgba(40, 40, 40, 0.08), rgba(40, 40, 40, 0.08)),
        url('images/zivotne-krize-i-promjene.png'),
        url('images/anksioznost.png');
}

.article-hero-roditeljstvo .container {
    background-image:
        linear-gradient(rgba(40, 40, 40, 0.08), rgba(40, 40, 40, 0.08)),
        url('images/roditeljstvo.png'),
        url('images/anksioznost.png');
}

.article-hero-zivot-u-dijaspori .container {
    background-image:
        linear-gradient(rgba(40, 40, 40, 0.08), rgba(40, 40, 40, 0.08)),
        url('images/zivot-u-dijaspori.png'),
        url('images/anksioznost.png');
}

.article-hero-mindfulness-grupe .container {
    background-image:
        linear-gradient(rgba(40, 40, 40, 0.08), rgba(40, 40, 40, 0.08)),
        url('images/mindfulness-grupe.png'),
        url('images/anksioznost.png');
}

.article-closing {
    margin-top: 28px;
}

.article-closing p {
    margin: 0;
}

.article-hero h1 em {
    display: block;
    margin-top: 8px;
    font-size: 0.48em;
    line-height: 1.2;
    font-weight: 400;
}

/* Isti lijevi razmak naslova na svim terapijskim heroima. */
@media (min-width: 993px) {
    .article-hero h1 {
        margin-left: 40px;
    }
}


/* Shared bottom cards + footer logo refinements */
.article-features .feature-box {
    border-radius: 20px;
}

.footer-logo img {
    max-width: 270px;
}


/* ====================
   PITANJA / FAQ STRANICA
   ==================== */
.questions-hero {
    position: relative;
    overflow: hidden;
    background-color: #f1ebe6;
}

.questions-hero .container {
    min-height: 270px;
    display: flex;
    align-items: center;
    background-color: #b7c5be;
    background-image:
        linear-gradient(rgba(40, 40, 40, 0.08), rgba(40, 40, 40, 0.08)),
        url('images/pitanja.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.questions-hero h1 {
    margin-left: 40px;
    font-family: 'Merriweather', serif;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
    color: #fbf5e6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.13);
}

.questions-page {
    padding: 76px 0 100px;
    background: #f1ebe6;
}

.questions-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 72px;
    align-items: start;
}

.questions-nav {
    position: sticky;
    top: 28px;
    display: flex;
    flex-direction: column;
    border-top: 1px solid #b7c5be;
}

.questions-nav a {
    padding: 14px 12px 14px 0;
    border-bottom: 1px solid #c8cfcb;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 17px;
    line-height: 1.25;
    color: #58595b;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.questions-nav a:hover,
.questions-nav a:focus-visible {
    transform: translateX(6px);
    color: #3f5b50;
}

.questions-content {
    min-width: 0;
}

.questions-category {
    scroll-margin-top: 30px;
}

.questions-category + .questions-category {
    margin-top: 72px;
}

.questions-category h2 {
    margin: 0 0 18px;
    padding-bottom: 17px;
    border-bottom: 2px solid #b7c5be;
    font-family: 'Merriweather', serif;
    font-size: 31px;
    line-height: 1.22;
    font-weight: 700;
    color: #444444;
}

.questions-faq-list .faq-item {
    border-bottom: 1px solid #c8cfcb;
}

.questions-faq-list .faq-question {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 12px;
    padding: 19px 0;
}

.questions-faq-list .faq-question-text {
    font-size: 23px;
    line-height: 1.3;
}

.questions-faq-list .faq-answer {
    padding-left: 32px;
}

.questions-faq-list .faq-answer > .faq-answer-inner {
    min-height: 0;
    overflow: hidden;
}

.questions-faq-list .faq-item.is-open .faq-answer {
    padding-bottom: 23px;
}

.questions-faq-list .faq-answer-inner p {
    margin: 0;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #666666;
}

.questions-faq-list .faq-answer-inner p + p {
    margin-top: 14px;
}

.questions-faq-list .faq-answer-inner strong {
    font-weight: 700;
    color: #555555;
}

@media (max-width: 900px) {
    .questions-hero .container {
        min-height: 220px;
    }

    .questions-hero h1 {
        margin-left: 0;
    }

    .questions-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .questions-nav {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 22px;
    }
}

@media (max-width: 640px) {
    .questions-hero .container {
        min-height: 185px;
    }

    .questions-hero h1 {
        font-size: 35px;
    }

    .questions-page {
        padding: 54px 0 72px;
    }

    .questions-nav {
        grid-template-columns: 1fr;
    }

    .questions-category + .questions-category {
        margin-top: 56px;
    }

    .questions-category h2 {
        font-size: 27px;
    }

    .questions-faq-list .faq-question-text {
        font-size: 20px;
    }

    .questions-faq-list .faq-answer {
        padding-left: 28px;
    }

    .questions-faq-list .faq-answer-inner p {
        font-size: 17px;
    }
}


/* ====================
   PSIHOTERAPIJA — PREGLEDNA STRANICA
   ==================== */
.psychotherapy-hero {
    background: #f1ebe6;
}

.psychotherapy-hero .container {
    min-height: 380px;
    display: flex;
    align-items: center;
    background-image:
        linear-gradient(rgba(40, 40, 40, 0.10), rgba(40, 40, 40, 0.10)),
        url('images/psihoterapija.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.psychotherapy-hero h1 {
    max-width: 850px;
    margin-left: 40px;
    font-family: 'Merriweather', serif;
    font-size: 42px;
    line-height: 1.18;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .18);
}

.psychotherapy-page {
    padding: 36px 0 100px;
    background: #f1ebe6;
}

.psychotherapy-content {
    max-width: 920px;
    margin: 0 auto;
}

.psychotherapy-content p {
    margin: 0;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    line-height: 1.55;
    color: #666666;
}

.psychotherapy-content p + p {
    margin-top: 16px;
}

.psychotherapy-content h2 {
    margin: 48px 0 18px;
    font-family: 'Merriweather', serif;
    font-size: 30px;
    line-height: 1.28;
    font-weight: 700;
    color: #444444;
}

.psychotherapy-grid-intro {
    margin-top: 48px !important;
}

.psychotherapy-areas-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.psychotherapy-area-card {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 24px;
    border: 1px solid rgba(143, 162, 154, .28);
    border-radius: 10px;
    background: #f7f3ef;
    font-family: 'Merriweather', serif;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: #444444;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.psychotherapy-area-arrow {
    flex: 0 0 auto;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 24px;
    line-height: 1;
    font-weight: 400;
    color: #8fa29a;
    transition: transform .2s ease, color .2s ease;
}

.psychotherapy-area-card:hover,
.psychotherapy-area-card:focus-visible {
    transform: translateY(-2px);
    background: #edf0eb;
    border-color: rgba(95, 120, 111, .42);
    box-shadow: 0 7px 18px rgba(68, 68, 68, .06);
}

.psychotherapy-area-card:hover .psychotherapy-area-arrow,
.psychotherapy-area-card:focus-visible .psychotherapy-area-arrow {
    transform: translateX(4px);
    color: #5f786f;
}

@media (max-width: 900px) {
    .psychotherapy-hero .container {
        min-height: 220px;
    }

    .psychotherapy-hero h1 {
        margin-left: 0;
    }

    .psychotherapy-content {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .psychotherapy-hero .container {
        min-height: 185px;
    }

    .psychotherapy-hero h1 {
        font-size: 34px;
    }

    .psychotherapy-page {
        padding: 54px 0 72px;
    }

    .psychotherapy-content p {
        font-size: 17px;
    }

    .psychotherapy-content h2 {
        margin-top: 40px;
        font-size: 26px;
    }

    .psychotherapy-areas-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .psychotherapy-area-card {
        min-height: 74px;
        padding: 18px 20px;
        font-size: 17px;
    }
}


.psychotherapy-lead strong {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: #444444;
}


.psychotherapy-content > h2:first-child {
    margin-top: 24px;
}


/* ====================
   POLITIKA PRIVATNOSTI
   ==================== */
.privacy-hero {
    background: #f1ebe6;
}

.privacy-hero .container {
    min-height: 270px;
    display: flex;
    align-items: center;
    background: #b7c5be;
}

.privacy-hero h1 {
    margin-left: 40px;
    font-family: 'Merriweather', serif;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
    color: #444444;
}

.privacy-page {
    padding: 54px 0 100px;
    background: #f1ebe6;
}

.privacy-content {
    max-width: 920px;
    margin: 0 auto;
}

.privacy-subtitle {
    margin: 0 0 34px !important;
    font-family: 'Merriweather', serif !important;
    font-size: 20px !important;
    line-height: 1.35 !important;
    font-weight: 700;
    color: #5f786f !important;
}

.privacy-content section + section {
    margin-top: 42px;
}

.privacy-content h2 {
    margin: 0 0 16px;
    font-family: 'Merriweather', serif;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
    color: #444444;
}

.privacy-content p,
.privacy-content li {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    line-height: 1.55;
    color: #666666;
}

.privacy-content p {
    margin: 0;
}

.privacy-content p + p {
    margin-top: 14px;
}

.privacy-content ul {
    margin: 12px 0 16px 22px;
    padding: 0;
}

.privacy-content li + li {
    margin-top: 6px;
}

.privacy-content a {
    color: #5f786f;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-content a:hover,
.privacy-content a:focus-visible {
    color: #3f5b50;
}

@media (max-width: 900px) {
    .privacy-hero .container {
        min-height: 220px;
    }

    .privacy-hero h1 {
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .privacy-hero .container {
        min-height: 185px;
    }

    .privacy-hero h1 {
        font-size: 34px;
    }

    .privacy-page {
        padding: 44px 0 72px;
    }

    .privacy-content h2 {
        font-size: 24px;
    }

    .privacy-content p,
    .privacy-content li {
        font-size: 17px;
    }
}


/* Kontakt forma — link ka Politici privatnosti */
.privacy-note a {
    color: #555555;
    font-weight: 700;
    text-decoration: none;
}


.privacy-note a:hover,
.privacy-note a:focus-visible {
    color: #3f5b50;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* Homepage — terapijske kartice */
.therapy-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.therapy-card .therapy-link {
    margin-top: auto;
    align-self: flex-start;
}

.therapy-extra.is-visible {
    display: flex;
}


/* Homepage — sakrij dodatne 4 kartice dok se ne klikne "Prikaži više" */
.therapy-card.therapy-extra {
    display: none;
}

.therapy-card.therapy-extra.is-visible {
    display: flex;
}


/* ====================
   UJEDNAČENI HERO BLOKOVI UNUTRAŠNJIH STRANICA
   ==================== */
.article-hero .container,
.about-hero .container,
.contact-hero .container,
.questions-hero .container,
.psychotherapy-hero .container,
.privacy-hero .container {
    height: 380px;
    min-height: 0;
}

.about-hero h1,
.contact-hero h1,
.questions-hero h1,
.psychotherapy-hero h1,
.privacy-hero h1 {
    margin-top: 0;
    margin-left: 0;
}

@media (min-width: 993px) {
    .article-hero h1,
    .about-hero h1,
    .contact-hero h1,
    .questions-hero h1,
    .psychotherapy-hero h1,
    .privacy-hero h1 {
        margin-left: 40px;
    }
}

@media (max-width: 768px) {
    .article-hero .container,
    .about-hero .container,
    .contact-hero .container,
    .questions-hero .container,
    .psychotherapy-hero .container,
    .privacy-hero .container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .article-hero .container,
    .about-hero .container,
    .contact-hero .container,
    .questions-hero .container,
    .psychotherapy-hero .container,
    .privacy-hero .container {
        height: 250px;
    }
}
