:root {
    --bg: #f4ebdd;
    --surface: #f8f1e7;
    --surface-soft: #efe2d2;
    --text: #263238;
    --muted: #6b5c4e;
    --primary: #007694;
    --primary-dark: #005f78;
    --line: #e3d4c5;
    --shadow: 0 18px 40px rgba(90, 63, 33, 0.08);
    --radius: 22px;
    --container: min(1140px, 92vw);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    color: var(--text);
    background: radial-gradient(circle at top right, #f9f1e4 0%, #f3e7d6 48%, #efe0cc 100%);
    line-height: 1.6;
}

button,
input,
textarea,
select {
    font: inherit;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(244, 235, 221, 0.96);
    border-bottom: 0;
    padding-top: 0.02rem;
    padding-bottom: 0.02rem;
}

.nav-wrap {
    display: grid;
    grid-template-columns: 220px 1fr auto auto auto;
    align-items: center;
    gap: 0.7rem;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    width: 122px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    font-weight: 600;
    color: #007694;
}

.main-nav a,
.nav-parent-link {
    position: relative;
    padding: 0.35rem 0;
}

.nav-item-services {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.services-submenu-toggle {
    border: 0;
    background: transparent;
    color: #007694;
    padding: 0;
    cursor: pointer;
    line-height: 1;
    font-size: 0.95rem;
}

.services-submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: -12px;
    min-width: 260px;
    display: grid;
    gap: 0.2rem;
    padding: 0.55rem;
    border-radius: 12px;
    background: #f7efe4;
    box-shadow: 0 12px 24px rgba(90, 63, 33, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 150;
}

.services-submenu a {
    padding: 0.45rem 0.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #006f8a;
}

.services-submenu a:hover,
.services-submenu a:focus-visible {
    background: rgba(0, 118, 148, 0.08);
}

.nav-item-services:hover .services-submenu,
.nav-item-services:focus-within .services-submenu,
.nav-item-services.submenu-open .services-submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.24s ease;
}

.services-submenu a::after,
.nav-parent-link::after {
    content: none;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    transform: scaleX(1);
}


.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 220;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 0;
    border-radius: 999px;
    padding: 0.72rem 1rem;
    background: rgba(0, 118, 148, 0.9);
    color: #f8f1e7;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 24px rgba(0, 70, 88, 0.28);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    background: rgba(0, 95, 120, 0.92);
}

.whatsapp-float-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    font-size: 1.7rem;
    color: var(--primary-dark);
    cursor: pointer;
}

.menu-close-btn {
    display: none;
}

.mobile-call-btn {
    display: none;
}

.mobile-social-btn {
    display: none;
}

@media (min-width: 921px) {
    .mobile-social-btn {
        display: inline-flex;
        width: 38px;
        height: 38px;
        border-radius: 999px;
        border: 1px solid rgba(0, 118, 148, 0.32);
        background: rgba(248, 241, 231, 0.92);
        color: #007694;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }

    .mobile-social-btn svg {
        width: 18px;
        height: 18px;
        fill: currentColor;
    }

    .mobile-social-btn:hover,
    .mobile-social-btn:focus-visible {
        background: #007694;
        color: #f8f1e7;
    }

    .mobile-call-btn {
        display: none;
    }
}

.menu-toggle-lines {
    display: inline-grid;
    gap: 4px;
}

.menu-toggle-lines span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
    transform-origin: center;
}

.menu-toggle.is-open .menu-toggle-lines span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-lines span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open .menu-toggle-lines span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3.2rem, 8vw, 5.4rem) 0 clamp(6.6rem, 13vw, 8.8rem);
    min-height: clamp(390px, 69vh, 620px);
    background:
        linear-gradient(105deg, rgba(234, 216, 196, 0.96) 0%, rgba(234, 216, 196, 0.82) 42%, rgba(0, 118, 148, 0.18) 100%);
    isolation: isolate;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 34, 43, 0.22) 0%, rgba(7, 34, 43, 0.08) 44%, rgba(7, 34, 43, 0.14) 100%);
    mix-blend-mode: normal;
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    right: -8%;
    bottom: -18%;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(20px);
    z-index: 1;
    pointer-events: none;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-slideshow::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(240, 224, 200, 0.35) 0%, rgba(240, 224, 200, 0.10) 42%, rgba(240, 224, 200, 0.18) 100%),
        linear-gradient(180deg, rgba(3, 18, 24, 0.18) 0%, rgba(3, 18, 24, 0.04) 45%, rgba(3, 18, 24, 0.16) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-slideshow-track {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slideshow-track-mobile {
    display: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    height: 100%;
    margin: 0;
    opacity: 0;
    animation: hero-fade var(--hero-cycle, 40s) ease-in-out infinite;
    animation-delay: var(--hero-delay, 0s);
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(1.08) saturate(1.08) contrast(1.04);
    transform: scale(1.03);
}

.hero-slide .hero-slide-cekaonica {
    object-position: center center;
}

.hero-slide-cekaonica {
    object-position: center 34%;
    transform: scale(1.1);
}

@keyframes hero-fade {
    0% {
        opacity: 0;
    }
    6% {
        opacity: 1;
    }
    18% {
        opacity: 1;
    }
    26% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.4rem;
    align-items: end;
    justify-items: start;
    min-height: inherit;
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding-top: clamp(1.2rem, 3vw, 2rem);
}

.hero-services-row {
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(3.6rem, 6.2vw, 4.8rem);
    z-index: 2;
    pointer-events: none;
}

.hero-services-row .hero-services-marquee {
    pointer-events: auto;
    width: min(1140px, 90vw);
    margin: 0 auto;
}

.hero-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: min(100%, 590px);
    max-width: 100%;
}

.hero-text {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 252, 247, 0.94) 0%, rgba(248, 241, 231, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 32px;
    padding: 1.2rem 1.35rem 1.35rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 45px rgba(15, 35, 42, 0.14);
    animation: hero-copy-in 0.9s ease both;
}

.hero-text::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #007694 0%, #8ed8e7 100%);
}

.hero-eyebrow {
    margin: 0 0 0.2rem;
    color: #007694;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-intro {
    margin: 0.35rem 0 0;
    color: #35515a;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 34rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-btn:hover,
.hero-btn:focus-visible {
    transform: translateY(-1px);
}

.hero-btn-primary {
    background: linear-gradient(135deg, #007694 0%, #1098b0 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(0, 118, 148, 0.22);
}

.hero-btn-secondary {
    color: #0b4a5a;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 118, 148, 0.2);
}

.hero h1 {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: clamp(2.1rem, 6vw, 4.1rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #007694;
    text-shadow: none;
    max-width: 100%;
}

.hero-title-line2 {
    display: block;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.15rem;
    align-items: center;
}

.hero-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.6rem 0.95rem;
    border: 1px solid rgba(0, 118, 148, 0.30);
    background: rgba(248, 241, 231, 0.97);
    color: #22424b;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 10px 24px rgba(15, 35, 42, 0.12);
    backdrop-filter: blur(10px);
}

.hero-trust-pill-rating {
    background: rgba(248, 241, 231, 0.97);
    border-color: rgba(0, 118, 148, 0.30);
}

.hero-stars {
    color: #007694;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
    line-height: 1;
}

.hero-rating-text {
    white-space: nowrap;
}

.hero-services-marquee {
    margin-top: 1.15rem;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(248, 241, 231, 0.93);
    border: 1px solid rgba(0, 118, 148, 0.24);
    padding: 0.66rem 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 34px rgba(90, 63, 33, 0.12);
}

.hero-services-track {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    min-width: max-content;
    animation: hero-services-marquee 22s linear infinite;
    white-space: nowrap;
    will-change: transform;
}

.hero-services-track span {
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #007694;
}

.hero-services-track span::before {
    content: '•';
    margin-right: 0.45rem;
    color: #007694;
}

@keyframes hero-services-marquee {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes hero-copy-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-rail-x {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slideshow-track,
    .hero-services-track {
        animation: none;
    }
}

.section.quick-links-section {
    padding: 0;
}

@media (min-width: 921px) {
    .contact-background .quick-links-section {
        margin-top: 1rem;
    }

    .inquiry-form-section > .container {
        width: var(--container);
        max-width: var(--container);
        margin-inline: auto;
    }

    .inquiry-form-layout {
        grid-template-columns: 1fr 1.15fr;
        gap: 1.2rem;
    }

    .inquiry-image-form img {
        min-height: 260px;
    }
}

.info-panels-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 1rem;
    align-items: stretch;
}

.info-panels-grid-single {
    grid-template-columns: 1fr;
    gap: 0.3rem;
}

.info-panel {
    border-radius: var(--radius);
    padding: clamp(1rem, 2vw, 1.5rem);
    background: rgba(248, 241, 231, 0.8);
    color: #1f2937;
    box-shadow: 0 6px 12px rgba(90, 63, 33, 0.08);
    border: 0;
    backdrop-filter: blur(4px);
    text-align: left;
}

.info-panel h3 {
    margin: 0 0 0.5rem;
    color: #006f8a;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    letter-spacing: -0.01em;
}

.info-panel p {
    margin: 0.03rem 0;
    color: #4e5f56;
    font-weight: 400;
}

.info-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.quick-link-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 0;
    fill: currentColor;
}

.quick-link-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(248, 241, 231, 0.92);
    border: 1px solid rgba(0, 118, 148, 0.32);
    color: #007694;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.info-icons .quick-link-icon-link {
    border: 1px solid rgba(0, 118, 148, 0.32);
    background: rgba(248, 241, 231, 0.92);
}

.quick-link-icon-link:hover {
    transform: translateY(-2px) scale(1.03);
    background: #007694;
    color: #f8f1e7;
}

.section {
    padding: 2rem 0;
}

.page-onama .section {
    padding: 2.4rem 0;
}

.services {
    position: relative;
    overflow: hidden;
    padding-top: 2rem;
    padding-bottom: 2.4rem;
}

.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('ORDINACIJA/čekaonica2.jpg') center / cover no-repeat;
    opacity: 0.42;
    z-index: 0;
}

.services::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(244, 235, 221, 0.52) 0%, rgba(244, 235, 221, 0.48) 100%);
    z-index: 0;
}

.services > .container {
    position: relative;
    z-index: 1;
}

.mobile-highlights {
    position: relative;
    overflow: hidden;
    padding-top: 0.6rem;
    padding-bottom: 1.2rem;
}

.mobile-highlights::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('slike/a.JPG') center / cover no-repeat;
    opacity: 0.36;
    z-index: 0;
}

.mobile-highlights::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.24) 100%);
    z-index: 0;
}

.mobile-highlights > .container {
    position: relative;
    z-index: 1;
}

.mobile-highlights-title {
    margin-bottom: 0.75rem;
}

.mobile-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
    max-width: min(560px, 52vw);
    margin-inline: auto;
    align-items: start;
    --highlights-card-height: 302px;
}

.mobile-highlight-card {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 0;
    background: transparent;
    height: var(--highlights-card-height);
    box-shadow: 0 7px 16px rgba(12, 58, 58, 0.1);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.mobile-highlight-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.45s ease;
}

.mobile-highlight-card-cert img {
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    object-position: center 60%;
    transform: none;
}

.mobile-highlight-card-cert {
    display: flex;
    align-items: flex-end;
}

.mobile-highlight-card-tall {
    height: var(--highlights-card-height);
}

.mobile-highlight-card-tall img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

.mobile-highlight-card:hover,
.mobile-highlight-card:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 11px 20px rgba(12, 58, 58, 0.14);
}

.mobile-highlight-card:hover img,
.mobile-highlight-card:focus-within img,
.mobile-highlight-card:active img {
    transform: scale(2);
}

.mobile-highlight-card-cert:hover img,
.mobile-highlight-card-cert:focus-within img,
.mobile-highlight-card-cert:active img {
    transform: scale(2);
}

.clinic-gallery-section {
    padding-top: 1rem;
}

.clinic-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.clinic-gallery-item {
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    border: 0;
    background: var(--surface);
    box-shadow: 0 10px 24px rgba(12, 58, 58, 0.08);
    flex: 0 0 calc(25% - 0.75rem);
    min-width: calc(25% - 0.75rem);
}

.clinic-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 10;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 2.2rem;
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin: 0;
    font-weight: 800;
    font-size: 0.78rem;
}

h2 {
    margin: 0.45rem 0 0;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    letter-spacing: -0.015em;
    color: #006f8a;
}

.services-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.15rem;
}

.services-grid::-webkit-scrollbar {
    display: none;
}

.services-carousel-shell {
    display: grid;
    gap: 0.8rem;
    width: 100%;
}

.services-carousel-viewport {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.services-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    min-height: 12px;
    width: fit-content;
    margin-inline: auto;
    place-self: center;
}

.services-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(0, 118, 148, 0.28);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.services-dot:hover,
.services-dot:focus-visible {
    transform: scale(1.15);
    background: rgba(0, 118, 148, 0.45);
}

.services-dot.is-active {
    width: 18px;
    background: #007694;
}

.services-carousel-controls {
    display: none;
    justify-content: flex-end;
    gap: 0.5rem;
}

.services-nav-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 118, 148, 0.2);
    border-radius: 999px;
    background: rgba(248, 241, 231, 0.94);
    color: #005f78;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.services-nav-btn:hover,
.services-nav-btn:focus-visible {
    transform: translateY(-2px);
    background: rgba(0, 118, 148, 0.12);
}

.services-nav-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.service-card {
    flex: 0 0 calc((100% - 2rem) / 3);
    background: var(--surface);
    border: 0;
    border-radius: 20px;
    padding: 1rem;
    min-height: 390px;
    box-shadow: 0 6px 14px rgba(12, 58, 58, 0.05);
    transition: box-shadow 0.2s ease;
    scroll-snap-align: start;
}

.service-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: none;
    box-shadow: 0 6px 14px rgba(12, 58, 58, 0.05);
}

.icon-wrap {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-soft);
    color: var(--primary);
    margin-bottom: 0.9rem;
}

.icon-wrap svg {
    width: 30px;
    height: 30px;
}

.service-thumb {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    margin-top: 0.7rem;
    height: 210px;
}

.service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-button {
    margin-top: 0.95rem;
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(0, 118, 148, 0.1);
    color: #005f78;
    font-weight: 800;
    font-size: 0.84rem;
    letter-spacing: 0.02em;
    border: 1px solid rgba(0, 118, 148, 0.16);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.service-card-link:hover .service-card-button,
.service-card-link:focus-visible .service-card-button {
    transform: translateX(3px);
    background: rgba(0, 118, 148, 0.14);
    color: #003f4f;
}

#usluga-implantologija .service-thumb img {
    object-position: center 78%;
}

.service-thumb-empty {
    background: linear-gradient(135deg, rgba(0, 118, 148, 0.08) 0%, rgba(0, 118, 148, 0.15) 100%);
}

.service-card h3 {
    margin: 0;
    line-height: 1.3;
    color: #006f8a;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 1.12rem;
    letter-spacing: -0.01em;
    min-height: 2.7em;
}

.service-card p {
    margin: 0.7rem 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.service-detail-wrap {
    background: rgba(248, 241, 231, 0.92);
    border-radius: 20px;
    padding: clamp(1rem, 2vw, 1.5rem);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1.2rem;
    align-items: start;
}

.service-detail-toc {
    position: sticky;
    top: 92px;
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 8px 20px rgba(90, 63, 33, 0.08);
    padding: 0.8rem;
}

.service-detail-toc p {
    margin: 0 0 0.5rem;
    font-weight: 700;
    color: #006f8a;
    font-size: 0.92rem;
}

.service-detail-toc ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.2rem;
}

.service-detail-toc a {
    display: block;
    padding: 0.38rem 0.45rem;
    border-radius: 8px;
    color: #3a4f5d;
    font-size: 0.88rem;
}

.service-detail-toc a:hover,
.service-detail-toc a:focus-visible {
    background: rgba(0, 118, 148, 0.08);
    color: #006f8a;
}

.service-detail-main {
    display: grid;
    gap: 1rem;
}

.service-detail-media {
    border-radius: 16px;
    overflow: hidden;
    min-height: 280px;
    background: #e7f2f7;
}

.service-detail-media img,
.service-detail-placeholder {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.service-detail-placeholder {
    background: linear-gradient(135deg, rgba(0, 118, 148, 0.09) 0%, rgba(0, 118, 148, 0.18) 100%);
}

.service-detail-content h3 {
    margin-top: 1.1rem;
    margin-bottom: 0.5rem;
    color: #006f8a;
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.service-detail-content p {
    margin: 0.72rem 0;
    color: #2d3f4c;
    line-height: 1.75;
    font-size: 1.02rem;
}

.service-detail-content ul {
    margin: 0.2rem 0 0.8rem;
    padding-left: 1.1rem;
    color: #3c5160;
    line-height: 1.6;
}

.service-detail-content .button {
    margin-top: 1rem;
}

.about-text h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    color: #007694;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #3c5160;
    margin-bottom: 1.2rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.why-card {
    background: linear-gradient(120deg, #f7efe4 0%, #efe2d2 100%);
    border: 0;
    border-radius: var(--radius);
    padding: 1.5rem;
}

.why-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.why-head {
    width: 150px;
    min-height: 92px;
    display: grid;
    place-items: start;
    margin-bottom: 1rem;
}

.mefst-head {
    width: 190px;
    margin-bottom: 0.35rem;
}

.mefst-head img {
    max-height: 112px;
}

.why-head img {
    width: 100%;
    max-height: 92px;
    height: auto;
    object-fit: contain;
}

.why-card h3 {
    margin: 0;
    color: #006f8a;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 1.42rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.why-card p {
    margin-top: 0.9rem;
    color: #4e5f6e;
}

.about-wrap {
    background: var(--surface);
    border: 0;
    border-radius: var(--radius);
    padding: clamp(1.3rem, 3vw, 2rem);
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.2rem;
}

.about-wrap p {
    margin: 0;
    color: #4f5f6d;
}

.team {
    position: relative;
    overflow: hidden;
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
}

/*
.team::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('slike/a.JPG') center / cover no-repeat;
    opacity: 0.30;
    z-index: 0;
}

.team::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0.28) 100%);
    z-index: 0;
}
*/

.team > .container {
    position: relative;
    z-index: 1;
}

.team-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    padding: 0.2rem 0.2rem 0.35rem;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
}

.team-member:nth-child(even) {
    /* uniform cards on desktop */
}

.avatar {
    width: min(100%, 235px);
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    overflow: hidden;
    border: 0;
    background: #efe2d2;
    margin-bottom: 0;
    box-shadow: 0 12px 26px rgba(90, 63, 33, 0.12);
    position: relative;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 14%;
    transform: scale(1.01);
    transition: transform 0.45s ease;
}

.team-member-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.42rem;
    padding: 0 0.1rem 0.2rem;
    text-align: center;
}

.team-member:hover,
.team-member:focus-within {
    transform: none;
    box-shadow: none;
}

.team-member:hover .avatar img,
.team-member:focus-within .avatar img {
    transform: scale(1.07);
}

.team-member h4 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 1.14rem;
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.005em;
    color: #263238;
    text-align: center;
}

.team-member p {
    margin: 0;
    color: #007694;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: block;
    align-self: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
}

.team-note {
    margin: 1.5rem auto 0;
    text-align: center;
    width: fit-content;
    color: #365162;
    background: #eaf4f4;
    border: 1px solid #d8e9e9;
    border-radius: 999px;
    padding: 0.65rem 1rem;
    font-weight: 600;
}

.inquiry-section {
    padding-top: 1.2rem;
}

.inquiry-form-section {
    padding-top: 0;
    padding-bottom: 0;
}

.inquiry-shell {
    background: rgba(248, 241, 231, 0.8);
    border-radius: 24px;
    padding: clamp(0.55rem, 1.4vw, 0.85rem);
}

.inquiry-form-section .inquiry-shell {
    max-width: var(--container);
    width: var(--container);
    margin: 1rem auto 0;
    border: 0;
    box-shadow: 0 6px 12px rgba(90, 63, 33, 0.08);
    backdrop-filter: blur(4px);
    padding: clamp(0.75rem, 1.7vw, 1.05rem);
}

.inquiry-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 0.9rem;
    align-items: stretch;
}

.inquiry-left h2 {
    color: #f1f8fb;
    margin: 0 auto 0.9rem;
    max-width: 12ch;
    text-align: center;
    font-size: clamp(1.55rem, 3vw, 2.4rem);
    line-height: 1.05;
    font-weight: 300;
}

.inquiry-image {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(244, 235, 221, 0.5);
}

.inquiry-image img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    object-position: center center;
}

.inquiry-image-form {
    margin-bottom: 1rem;
    border: 0;
    box-shadow: 0 10px 22px rgba(90, 63, 33, 0.12);
}

.inquiry-image-form img {
    min-height: 185px;
}

.inquiry-form-title {
    margin: 0 0 0.95rem;
    color: #007694;
    text-align: center;
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    line-height: 1.1;
    font-weight: 300;
}

.inquiry-form-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 0.9rem;
    align-items: start;
}

.inquiry-form-wrap {
    display: grid;
    gap: 0.45rem;
}

.inquiry-right {
    background: rgba(248, 241, 231, 0.8);
    border: 0;
    border-radius: 18px;
    padding: clamp(0.9rem, 1.8vw, 1.25rem);
}

.inquiry-form {
    display: grid;
    gap: 0.75rem;
}

.inquiry-form label {
    display: grid;
    gap: 0.4rem;
}

.inquiry-form span {
    font-size: 0.93rem;
    color: #4d5c68;
    font-weight: 400;
}

.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #c8b59f;
    border-radius: 0;
    background: transparent;
    padding: 0.45rem 0.1rem 0.55rem;
    font: inherit;
    color: #1f2937;
    outline: none;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
    border-bottom-color: #007694;
    box-shadow: none;
}

.inquiry-form .button {
    justify-self: center;
    margin-top: 0.55rem;
    min-width: 220px;
    font-weight: 400;
}

.quick-contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-top: 0.65rem;
}

.quick-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.66rem 0.95rem;
    color: #f8f1e7;
    font-weight: 700;
    font-size: 0.93rem;
    letter-spacing: 0.01em;
}

.quick-whatsapp,
.quick-call {
    background: rgba(0, 118, 148, 0.88);
}

.quick-whatsapp:hover,
.quick-whatsapp:focus-visible,
.quick-call:hover,
.quick-call:focus-visible {
    background: rgba(0, 95, 120, 0.92);
}

.quick-contact-btn .whatsapp-float-icon,
.quick-contact-btn .phone-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.inquiry-alert {
    margin: 0 0 0.82rem;
    padding: 0.66rem 0.78rem;
    border-radius: 10px;
    font-weight: 400;
    font-size: 0.92rem;
}

.inquiry-alert.success {
    background: #dcf7ef;
    color: #0f6c54;
}

.inquiry-alert.error {
    background: #fee8e8;
    color: #8a2a2a;
}

.contact-background {
    position: relative;
    background-image:
        linear-gradient(135deg, rgba(244, 235, 221, 0.46) 0%, rgba(244, 235, 221, 0.28) 100%),
        url('ORDINACIJA/kip2.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 4.5rem 0 4rem;
}

.contact {
    background: transparent;
    padding: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1rem;
    align-items: stretch;
}

.contact-card,
.map-wrap {
    background: rgba(248, 241, 231, 0.8);
    border: 0;
    border-radius: var(--radius);
    box-shadow: 0 6px 12px rgba(90, 63, 33, 0.08);
    backdrop-filter: blur(4px);
}

.contact-card {
    min-height: 320px;
    height: 100%;
    padding: clamp(1rem, 2vw, 1.5rem);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.contact-card h2 {
    margin-bottom: 0.2rem;
}

.contact-list {
    margin: 1rem 0 0.85rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
    color: #4e5f56;
    width: 100%;
    text-align: left;
}

.contact-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.4;
}

.contact-list-item a {
    color: #007694;
    text-decoration: none;
}

.contact-list-item a:hover,
.contact-list-item a:focus-visible {
    text-decoration: underline;
}

.contact-list-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 999px;
    border: 1px solid rgba(0, 118, 148, 0.32);
    background: rgba(248, 241, 231, 0.92);
    color: #007694;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.05rem;
}

.contact-list-icon svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 0;
    background: var(--primary);
    color: #f8f1e7;
    padding: 0.72rem 1.15rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: none;
    cursor: pointer;
}

.contact-card .button {
    width: 100%;
    max-width: 340px;
    gap: 0.45rem;
    font-weight: 400;
}

.contact-card .quick-contact-btn {
    width: 100%;
    max-width: 340px;
}

.contact-card .quick-contact-actions {
    width: 100%;
    justify-items: start;
}

.mail-icon {
    width: 16px;
    height: 16px;
}

.button:hover,
.button:focus-visible {
    background: var(--primary-dark);
}

.map-wrap {
    overflow: hidden;
    min-height: 320px;
    height: 100%;
    position: relative;
    padding: 0;
}

.map-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.site-footer {
    margin-top: 2rem;
    background: linear-gradient(135deg, #f1e4d2 0%, #f7efe4 100%);
    border-top: 0;
}

.footer-grid {
    padding: 2.2rem 0 1.4rem;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
}

.footer-grid > div {
    text-align: center;
}

.footer-logo {
    width: 300px;
    margin-bottom: 0.8rem;
}

.site-footer h3 {
    margin: 0 0 0.8rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    color: #007694;
    letter-spacing: -0.01em;
}

.site-footer p {
    margin: 0.3rem 0;
    color: #615546;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #007694;
    font-weight: 600;
    text-decoration: none;
}

.footer-social-icon {
    width: 1.05rem;
    height: 1.05rem;
    fill: currentColor;
    flex-shrink: 0;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    color: #005f78;
}

.footer-bottom {
    border-top: 0;
    padding: 0.95rem 0 1.2rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.92rem;
}

.footer-bottom p + p {
    margin-top: 0.28rem;
}

.page-faq .section {
    padding: 2.6rem 0;
}

.faq-hero {
    background: transparent;
    border-bottom: 0;
}

.faq-hero-wrap {
    padding: clamp(2rem, 5vw, 3rem) 0 clamp(1.6rem, 4vw, 2.2rem);
    text-align: center;
}

.faq-hero-wrap h1 {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: -0.02em;
    color: #006f8a;
}

.faq-hero-wrap p {
    margin: 0.9rem auto 0;
    max-width: 70ch;
    color: #4e5f6d;
}

.faq-list {
    display: grid;
    gap: 0.8rem;
    max-width: 920px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border: 0;
    border-radius: 16px;
    box-shadow: 0 6px 14px rgba(12, 58, 58, 0.05);
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-weight: 800;
    color: #16535d;
    padding: 1rem 1.1rem;
    position: relative;
    padding-right: 2.6rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #007694;
    font-weight: 900;
    font-size: 1.2rem;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    margin: 0;
    padding: 0 1.1rem 1rem;
    color: #4b5d6b;
}

.site-header.is-scrolled {
    box-shadow: none;
}

.interactive-lift {
    transition: transform 0.2s ease;
    will-change: transform;
}

.why-card,
.clinic-gallery-item,
.info-panel,
.team-group,
.inquiry-shell,
.contact-card,
.map-wrap {
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.why-card:hover,
.clinic-gallery-item:hover,
.info-panel:hover,
.team-group:hover,
.contact-card:hover,
.map-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(12, 58, 58, 0.12);
}

.clinic-gallery-item img,
.service-thumb img,
.why-head img,
.inquiry-image img {
    transition: transform 0.5s ease;
}

.clinic-gallery-item:hover img,
.why-card:hover .why-head img,
.inquiry-shell:hover .inquiry-image img {
    transform: scale(1.03);
}

@media (hover: none), (pointer: coarse) {
    .service-card:hover {
        transform: none;
        box-shadow: 0 6px 14px rgba(12, 58, 58, 0.05);
    }

    .service-card:hover .service-thumb img {
        transform: none;
    }
}

.js-ready .reveal {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
    transition: opacity 0.56s ease, transform 0.56s ease;
}

.js-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.js-ready .service-card.reveal,
.js-ready .service-card.reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
}

@media (max-width: 1160px) {
    .service-card {
        flex-basis: calc((100% - 1rem) / 2);
    }

    .team-groups-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 920px) {
    .nav-wrap {
        display: flex;
        min-height: 32px;
        gap: 0.35rem;
        align-items: center;
    }

    .brand {
        margin-right: auto;
    }

    .brand img {
        width: 84px;
    }

    .menu-toggle {
        display: inline-flex;
        width: 34px;
        height: 34px;
        border-radius: 999px;
        border: 1px solid rgba(0, 118, 148, 0.32);
        background: rgba(248, 241, 231, 0.92);
        align-items: center;
        justify-content: center;
        justify-self: end;
        margin-left: 0;
    }

    .mobile-call-btn {
        display: inline-flex;
        width: 34px;
        height: 34px;
        border-radius: 999px;
        border: 1px solid rgba(0, 118, 148, 0.32);
        background: rgba(248, 241, 231, 0.92);
        color: #007694;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        justify-self: end;
    }

    .mobile-social-btn {
        display: inline-flex;
        width: 34px;
        height: 34px;
        border-radius: 999px;
        border: 1px solid rgba(0, 118, 148, 0.32);
        background: rgba(248, 241, 231, 0.92);
        color: #007694;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        justify-self: end;
    }

    .mobile-social-btn svg {
        width: 18px;
        height: 18px;
        fill: currentColor;
    }

    .mobile-call-btn svg {
        width: 18px;
        height: 18px;
        fill: currentColor;
    }

    .mobile-call-btn:hover,
    .mobile-call-btn:focus-visible,
    .mobile-social-btn:hover,
    .mobile-social-btn:focus-visible {
        background: #007694;
        color: #f8f1e7;
    }

    .main-nav {
        position: fixed;
        inset: 0;
        background: #f6eee1;
        border: 0;
        border-radius: 0;
        padding: 90px 24px 24px;
        box-shadow: none;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 1.25rem;
        display: none;
        z-index: 140;
        overflow-y: auto;
    }

    .menu-close-btn {
        display: inline-flex;
        position: absolute;
        top: 22px;
        right: 20px;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(0, 118, 148, 0.24);
        border-radius: 999px;
        background: rgba(248, 241, 231, 0.95);
        color: #007694;
        font-size: 1.7rem;
        line-height: 1;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
    }

    .main-nav a {
        font-size: 1.2rem;
        font-weight: 700;
        color: #007694;
    }

    .nav-item-services {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 0.5rem;
    }

    .services-submenu-toggle {
        font-size: 1rem;
        color: #007694;
    }

    .services-submenu {
        position: static;
        min-width: min(340px, 92vw);
        width: min(340px, 92vw);
        opacity: 1;
        pointer-events: auto;
        transform: none;
        box-shadow: none;
        background: rgba(0, 118, 148, 0.06);
        display: none;
    }

    .nav-item-services.submenu-open .services-submenu {
        display: grid;
    }

    .services-submenu a {
        text-align: center;
        font-size: 0.98rem;
    }

    .main-nav.open {
        display: flex;
    }

    body.menu-open {
        overflow: hidden;
    }

    .hero-grid,
    .about-wrap,
    .contact-grid,
    .inquiry-grid,
    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-toc {
        position: static;
        top: auto;
    }

    .contact-background {
        padding: 3.5rem 0 3rem;
    }

    .info-panels-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 2.5rem;
        padding-bottom: clamp(7rem, 17vw, 8rem);
        min-height: 78dvh;
        min-height: 78vh;
    }

    .hero-grid {
        margin-top: -0rem;
        align-items: start;
    }

    .hero-text {
        width: 100%;
        transform: translateY(-0.15rem);
        padding: 0.85rem 1rem 0.95rem;
    }

    .hero-text-wrap {
        gap: 0.45rem;
    }

    .hero-trust-row {
        transform: translateY(0.35rem);
    }

    .hero-services-row {
        bottom: clamp(5.4rem, 17vw, 6.6rem);
    }

    .hero h1 {
        font-size: clamp(1.55rem, 7vw, 2.1rem);
    }

    .hero-title-line1 {
        white-space: nowrap;
    }

    .hero-title-line2 {
        display: block;
    }

    .hero-trust-row {
        justify-content: flex-start;
    }

    .hero-trust-pill {
        font-size: 0.84rem;
        padding: 0.55rem 0.85rem;
    }

    .hero-slideshow-track {
        height: 100%;
    }

    .hero-slideshow-track-desktop {
        display: none;
    }

    .hero-slideshow-track-mobile {
        display: block;
    }

    .hero-slide {
        height: 100%;
    }

    .hero-slide img {
        object-position: center 34%;
    }

    .hero-slide-cekaonica {
        object-position: center 42%;
        transform: scale(1.15);
    }

    .hero-services-track {
        animation-duration: 12s;
    }

    .inquiry-form-layout {
        grid-template-columns: 1fr;
    }

    .service-card {
        flex-basis: 50%;
        padding: 0.75rem;
        min-height: 340px;
    }

    .service-thumb {
        height: 230px;
    }

    .services-grid {
        gap: 0.75rem;
    }

    .services-carousel-controls {
        display: none;
    }

    .team-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clinic-gallery-grid {
        animation-duration: 40s;
    }

    .clinic-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .mobile-highlights {
        padding-top: 0.25rem;
        padding-bottom: 0.75rem;
    }

    .mobile-highlights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.28rem;
        max-width: 82vw;
        --highlights-card-height: 312px;
    }

    .whatsapp-float {
        display: inline-flex;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .inquiry-image img {
        min-height: 180px;
    }

    .quick-contact-actions {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .quick-contact-btn {
        width: 100%;
    }

    .contact-card {
        min-height: 0;
        height: auto;
        align-items: center;
        text-align: center;
    }

    .contact-list-item {
        text-align: left;
    }

    .contact-card .quick-contact-actions {
        justify-items: center;
    }

    .map-wrap {
        height: auto;
    }

    .contact-background .quick-links-section {
        margin-top: 1rem;
    }
}

@media (max-width: 560px) {
    .brand img {
        width: 126px;
    }

    .section {
        padding: 3.5rem 0;
    }

    .page-faq .section {
        padding: 2rem 0;
    }

    .service-card {
        flex-basis: 48%;
        padding: 0.68rem;
    }

    .service-card h3 {
        font-size: 0.96rem;
        line-height: 1.22;
        min-height: 2.6em;
    }

    .service-thumb {
        margin-top: 0.45rem;
        border-radius: 10px;
        height: 200px;
    }

    .service-card-button {
        margin-top: 0.72rem;
        align-self: center;
        font-size: 0.68rem;
        padding: 0.32rem 0.56rem;
    }

    .team-group-title {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .team-member {
        padding: 0.85rem;
    }

    .team-member .avatar {
        width: min(100%, 320px);
        margin: 0;
        aspect-ratio: 16 / 10;
        border-radius: 20px;
    }

    .team-member h4 {
        font-size: 0.98rem;
    }

    .team-member p {
        font-size: 0.83rem;
    }

    .team-list {
        grid-template-columns: 1fr;
    }

    .team-group-head {
        flex-direction: column;
        align-items: start;
    }

    .team-group-note {
        max-width: none;
    }

    .contact-background {
        padding: 3rem 0 2.5rem;
    }

    .clinic-gallery-grid {
        grid-template-columns: 1fr;
    }

    .info-icons {
        justify-content: center;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 10vw, 2.6rem);
        max-width: 100%;
    }

    .hero-rating-text {
        white-space: nowrap;
    }

    .lead {
        font-size: 1rem;
    }

    .team-note {
        border-radius: 14px;
        width: 100%;
        text-align: left;
    }

    .whatsapp-float { display: inline-flex; }

    .mobile-highlights-grid {
        max-width: 88vw;
        gap: 0.24rem;
        --highlights-card-height: 262px;
    }

    .mobile-highlights {
        padding-bottom: 0.45rem;
    }

    .team {
        padding-top: 0.65rem;
    }
}

@keyframes hero-rail-y {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-50%);
    }
}
