* {
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}


.green-gradient {
    background: linear-gradient(
        135deg,
        #0E5F6A 0%,
        #167A88 50%,
        #22A6B8 100%
    );
}


.light-green-gradient {
    background: #f9fafb;
}


.text-gradient {
    color: #16a34a;
}


.nav-bar {
    transition: all 0.2s ease;
}

.nav-bar.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-link {
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #16a34a;
    transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #16a34a;
    font-weight: 600;
}


.mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.card-hover {
    transition: all 0.2s ease;
}

.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(34, 166, 184, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover::after {
    opacity: 1;
}


.service-icon {
    transition: transform 0.2s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.05);
}


.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-up-delay {
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

.animate-fade-in-up-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-down {
    animation: slideDown 0.4s ease-out;
}


.appointment-btn,
.ui-gradient-btn {
    transition: all 0.2s ease;
}

.logo {
    width: 50px;
    height: auto;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}


.logo:hover {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.2));
}


.cookie-consent {
    transition: transform 0.3s ease-out;
    transform: translateY(calc(100% + 1rem));
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent button {
    position: relative;
    overflow: hidden;
}

.cookie-consent button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cookie-consent button:hover::before {
    width: 300px;
    height: 300px;
}

.cookie-consent button span {
    position: relative;
    z-index: 1;
}


section {
    position: relative;
}


.shadow-3xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}


.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}


@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.pulse-animation {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}


.gradient-border {
    position: relative;
    background: white;
    border-radius: 1rem;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 2px;
    background: linear-gradient(135deg, #22A6B8, #167A88);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}


#carousel img {
    transition: none;
}


details[open] summary {
    margin-bottom: 1rem;
}

details summary::-webkit-details-marker {
    display: none;
}


html {
    scroll-padding-top: 80px;
}

html, body {
    overflow-x: hidden;
}

#about-carousel {
    display: flex;
    will-change: transform;
    overflow: visible;
    width: max-content;
}

#about-carousel > div {
    flex-shrink: 0;
}


.relative.overflow-hidden {
    overflow: hidden !important;
    width: 100%;
}


#about .container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}


@media (max-width: 640px) {
    #about-carousel > div {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
   
    #about .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}


@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
    }
    
    #about-carousel > div {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
    
   
    .service-card,
    .feature-card {
        font-size: 0.875rem;
    }
    
   
    button, a {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}


@media (max-width: 640px) {
   
    section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
   
    h2 {
        font-size: 1.5rem;
    }
    
   
    #about-carousel {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    #about-carousel > div {
        scroll-snap-align: start;
    }
}


#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    overflow: hidden;
}


details summary {
    transition: all 0.2s ease;
    user-select: none;
}

details[open] summary {
    color: #16a34a;
}


section {
    opacity: 0;
    animation: fadeInSection 1s ease-out forwards;
}

section.visible {
    opacity: 1;
}

@keyframes fadeInSection {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}




#call-modal, #callback-modal {
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease-out;
}

#call-modal.show, #callback-modal.show {
    display: flex !important;
}

#call-modal-content, #callback-modal-content {
    animation: slideUp 0.3s ease-out;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

#call-modal.show #call-modal-content,
#callback-modal.show #callback-modal-content {
    transform: scale(1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


#floating-call-btn {
    animation: float 3s ease-in-out infinite;
}

#floating-call-btn button {
    position: relative;
    overflow: hidden;
}

#floating-call-btn button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

#floating-call-btn button:hover::before {
    width: 100px;
    height: 100px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}


input:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}


@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
}

#floating-call-btn button.animate-pulse {
    animation: pulse 2s infinite, float 3s ease-in-out infinite;
}


@media (max-width: 480px) {
    #call-modal-content, #callback-modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    #floating-call-btn {
        bottom: 1rem;
        right: 1rem;
    }
    
    #floating-call-btn button {
        width: 3rem;
        height: 3rem;
    }
    
    #floating-call-btn button i {
        font-size: 1rem;
    }
}


.nav-buttons {
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .nav-buttons {
        gap: 1rem;
    }
}


input[type="tel"] {
    font-family: monospace;
}

.nav-bar {
    padding: 0.35rem 0;
}

.nav-bar .container {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}


.nav-link {
    font-size: 0.9rem;
    padding: 0.4rem 0;
}


.nav-buttons button,
.nav-buttons a {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
}

@media (min-width: 640px) {
    .nav-buttons button,
    .nav-buttons a {
        padding: 0.35rem 0.6rem;
        font-size: 0.78rem;
    }
}

@media (min-width: 768px) {
    .nav-buttons button,
    .nav-buttons a {
        padding: 0.65rem 1.25rem;
        font-size: 0.95rem;
    }
}


#carousel img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}


@media (max-width: 768px) {
    #carousel img {
        object-position: center center;
    }
    
    #home {
        min-height: 60vh;
    }
}


@media (min-width: 769px) and (max-width: 1024px) {
    #carousel img {
        object-position: center center;
    }
    
    #home {
        min-height: 70vh;
    }
}


@media (min-width: 1025px) {
    #carousel img {
        object-position: center center;
    }
    
    #home {
        min-height: 80vh;
    }
}


@media (max-width: 480px) {
    .nav-bar .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
   
    .logo + div h1 {
        font-size: 1rem !important;
        line-height: 1.2;
    }
    
    .logo + div p {
        font-size: 0.7rem !important;
    }
    
    .nav-buttons {
        gap: 0.25rem;
    }
    
    .nav-buttons button,
    .nav-buttons a {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .nav-buttons span {
        display: none !important;
    }
    
    #carousel img {
        transform: none;
    }
}



button, .dot {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


#prev-btn:hover, #next-btn:hover {
    opacity: 0.9;
}


.dot.active {
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.4),
                0 0 0 4px rgba(22, 163, 74, 0.2);
}


@keyframes heroTextReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) rotateX(90deg);
    }
    50% {
        opacity: 0.5;
        transform: translateY(15px) rotateX(45deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.hero-title {
    animation: heroTextReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    transform-origin: center bottom;
}

.hero-subtitle {
    animation: heroTextReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
    transform-origin: center bottom;
}


#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        rgba(0, 0, 0, 0.05) 70%,
        rgba(0, 0, 0, 0.1) 100%
    );
    pointer-events: none;
    z-index: 5;
}


#prev-btn, #next-btn {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

#prev-btn:hover, #next-btn:hover {
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}


#carousel img {
    animation: imageSlideIn 0.8s ease-out forwards;
}

@keyframes imageSlideIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


#prev-btn:focus-visible, #next-btn:focus-visible, .dot:focus-visible {
    outline: 3px solid rgba(22, 163, 74, 0.6);
    outline-offset: 2px;
}


.carousel-dots {
    animation: indicatorSlideUp 1s ease-out 0.5s both;
}

@keyframes indicatorSlideUp {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}


@media (min-width: 768px) {
    .hero-content {
        transform: translateZ(0);
        backface-visibility: hidden;
    }
}


@media (max-width: 768px) {
    #carousel img {
        filter: none;
    }
    
    .hero-title {
        animation-duration: 1s;
    }
    
    .hero-subtitle {
        animation-duration: 1s;
        animation-delay: 0.2s;
    }
}


.slide-transition {
    position: relative;
}

.slide-transition::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    opacity: 0;
    animation: slideShimmer 0.8s ease-out;
    pointer-events: none;
}

@keyframes slideShimmer {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    50% {
        opacity: 1;
        transform: translateX(0%);
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}
/* ===== BASE ===== */
body {
    font-family: 'Montserrat', sans-serif;
    background: #f9fafb;
    color: #1f2937;
    overflow-x: hidden;
}

/* ===== HEADER ===== */
.nav-bar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 50;
}

.logo {
    height: 34px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: #374151;
    position: relative;
}

.nav-link.active {
    color: #16a34a;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #16a34a;
}

.call-btn {
    background: #16a34a;
    color: #fff;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    gap: 8px;
}

/* ===== CONTACTS ===== */
.contacts-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
}

.contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    margin-bottom: 32px;
}

.contact-card h2 {
    font-size: 24px;
    font-weight: 700;
}

.address {
    margin-top: 10px;
    color: #6b7280;
}

.phone {
    display: block;
    margin-top: 14px;
    font-size: 22px;
    font-weight: 600;
    color: #16a34a;
}

.schedule {
    font-size: 14px;
    color: #6b7280;
    margin-top: 6px;
}

.save-contact-btn {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    padding: 14px 22px;
    border-radius: 14px;
    font-weight: 600;
}

/* ===== BUTTONS ===== */
.buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.contact-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border-radius: 16px;
    font-weight: 600;
    color: #fff;
}

.blue { background: #2563eb; }
.green { background: #22c55e; }
.sky { background: #0ea5e9; }
.dark { background: #374151; }

/* ===== MAP ===== */
.map-section {
    padding: 0 16px 60px;
}

.map-wrapper {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.map-frame {
    height: clamp(260px, 45vw, 400px);
}

/* ===== FOOTER ===== */
.footer {
    background: #1f2937;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer h3 {
    font-size: 20px;
    font-weight: 700;
}

.footer p {
    opacity: .8;
    max-width: 420px;
}

.footer-wa {
    width: 44px;
    height: 44px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-copy {
    text-align: center;
    font-size: 14px;
    opacity: .7;
    margin-top: 24px;
}
/* =========================
   Contacts page
   ========================= */

   .contacts-page {
    padding: 60px 0;
    background: #f7f8fa;
    min-height: 70vh;
}

.contacts-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #1e1e1e;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contacts-info {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    font-size: 16px;
    line-height: 1.6;
}

.contacts-info p {
    margin-bottom: 18px;
    color: #333;
}

.contacts-info a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}

.contacts-info a:hover {
    text-decoration: underline;
}

.contacts-map {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    min-height: 350px;
}

.contacts-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== Mobile ===== */

@media (max-width: 900px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .contacts-title {
        font-size: 28px;
    }
}

.hero-detail-section {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.hero-detail-section .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.hero-detail-title {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.hero-detail-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: #334155;
    margin-bottom: 1.5rem;
}

.hero-detail-header {
    text-align: center;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.hero-detail-description p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
    margin: 15px;
    text-align: justify;
}

.hero-detail-description {
    color: #475569;
    line-height: 1.5;
    font-size: 1rem;
    white-space: pre-line;
    margin: 15px
    text-align: justify;
}

.hero-detail-media {
    display: block;
    justify-content: center;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-left: 0;
    margin: 0;
    transform: none;
}

.hero-detail-image {
    display: flex;
    flex-direction:column;
    max-width: min(1920px, 100%);
    width: 100%;
    height: 100%;
    object-fit: contain;
    align-items: center;
    text-align: center;
    filter: drop-shadow(0 18px 40px rgba(15, 23, 42, 0.18));
}

.hero-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    background: #22c55e;
    color: #fff;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-detail-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(34, 197, 94, 0.3);
}

@media (max-width: 900px) {
    .hero-detail-back {
        justify-content: center;
    }
}

/* ===== Header: Transparent on top, solid on scroll (home only) ===== */
.hero-nav {
    background: transparent !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
}

.hero-nav.scrolled {
    background: #ffffff !important;
    border-bottom-color: #e5e7eb !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08) !important;
}

.hero-nav:not(.scrolled) {
    color: #ffffff;
}

.hero-nav:not(.scrolled) .nav-link,
.hero-nav:not(.scrolled) .nav-link.active,
.hero-nav:not(.scrolled) h1,
.hero-nav:not(.scrolled) p {
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.hero-nav:not(.scrolled) .nav-link::after,
.hero-nav:not(.scrolled) .nav-link.active::after {
    background: rgba(255, 255, 255, 0.95);
}

.hero-nav:not(.scrolled) .nav-link:hover {
    color: #ffffff !important;
}

.hero-nav:not(.scrolled) #menu-btn {
    color: #ffffff !important;
}

.hero-nav:not(.scrolled) .logo {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

.hero-nav:not(.scrolled) #mobile-menu {
    background: #ffffff;
}

.hero-nav:not(.scrolled) #mobile-menu .nav-link {
    color: #374151 !important;
    text-shadow: none;
}

.hero-nav:not(.scrolled) #mobile-menu .nav-link::after {
    background: #16a34a;
}

.hero-nav:not(.scrolled) #mobile-menu .nav-link:hover {
    color: #16a34a !important;
}

/* ===== Scroll to top ===== */
.scroll-top-btn {
    position: fixed;
    right: 1.5rem;
    bottom: 6.5rem;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: #ffffff;
    color: #16a34a;
    border: 1px solid rgba(22, 163, 74, 0.2);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 45;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

/* ===== Scroll animations ===== */
.scroll-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Footer map + contraindications ===== */
.contraindications {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: transparent;
    color: #ffffff;
    text-align: center;
    padding: 0.4rem 0.75rem;
    font-size: clamp(0.7rem, 0.9vw, 0.95rem);
    line-height: 1.3;
    text-transform: uppercase;
    pointer-events: none;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

@media (max-width: 640px) {
    .contraindications {
        position: static;
        background: #111827;
        color: #ffffff;
        text-shadow: none;
        pointer-events: auto;
        font-size: 0.72rem;
        line-height: 1.3;
        padding: 0.5rem 0.75rem;
    }
}

@media (min-width: 1024px) {
    .contraindications {
        font-size: 1rem;
        line-height: 1.35;
    }
}

.footer-top {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-info {
    max-width: 520px;
}

.footer-map {
    width: min(420px, 100%);
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

@media (max-width: 640px) {
    .footer-top {
        flex-direction: column;
    }

    .footer-map {
        width: 100%;
        height: 200px;
    }
}

.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.2);
}

@media (max-width: 640px) {
    .scroll-top-btn {
        display: none !important;
    }
}
