/* font-display: swap overrides for async-loaded Font Awesome fonts */
@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-solid-900.woff2") format("woff2");
}
@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-regular-400.woff2") format("woff2");
}
@font-face {
    font-family: "Font Awesome 6 Brands";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-brands-400.woff2") format("woff2");
}

:root {
    --primary: #1a5276;
    --primary-light: #2980b9;
    --primary-dark: #0e2f44;
    --accent: #3498db;
    --accent-light: #85c1e9;
    --glass: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.2);
    --bg-light: #f4f7fa;
    --bg-white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --text-muted: #7f8c8d;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

/* Touch device improvements */
a, button {
    -webkit-tap-highlight-color: transparent;
}

button, .hero-cta, .services-toggle, .back-to-top, .hero-badge {
    touch-action: manipulation;
}

/* Keyboard focus styles */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.navbar-links a:focus-visible,
.hero-cta:focus-visible {
    outline-color: var(--accent-light);
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* ===== NAV OVERLAY ===== */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    cursor: pointer;
}

.nav-overlay.active {
    display: block;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--primary-dark);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    padding: 0.7rem 2rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.navbar-brand .logo-icon {
    height: 36px;
    width: auto;
}

.navbar-brand .logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 3px;
}

.navbar-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navbar-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-light);
    transition: width 0.3s ease;
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
    width: 100%;
}

.navbar-links a.active {
    color: var(--accent-light);
}

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

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 70%, var(--accent) 100%);
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    animation: shimmer 15s ease-in-out infinite alternate;
}

@keyframes shimmer {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(2%, 1%) rotate(1deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    color: var(--accent-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
}

.hero-badge i {
    margin-right: 0.5rem;
}

.hero-logo {
    margin-bottom: 1rem;
}

.hero-logo svg {
    width: clamp(200px, 35vw, 340px);
    height: auto;
}

.hero-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.95rem, 2.2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    margin-bottom: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 0;
}

.hero-tagline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: var(--accent-light);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--text-light);
    color: var(--primary);
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    background: var(--accent-light);
    color: var(--primary-dark);
}

.hero-cta i {
    margin-left: 0.5rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero-cta-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--text-light);
}

/* Hero trust badges */
.hero-trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    font-weight: 400;
}

.hero-trust-item i {
    color: var(--accent-light);
    font-size: 1rem;
}

/* Floating glass shards */
.hero-float {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(2px);
    pointer-events: none;
}

.hero-float-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 8%;
    transform: rotate(35deg);
    animation: float1 18s ease-in-out infinite;
}

.hero-float-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 10%;
    transform: rotate(-20deg);
    animation: float2 22s ease-in-out infinite;
}

.hero-float-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 15%;
    transform: rotate(55deg);
    animation: float3 20s ease-in-out infinite;
}

.hero-float-4 {
    width: 100px;
    height: 100px;
    top: 20%;
    right: 18%;
    transform: rotate(15deg);
    animation: float1 25s ease-in-out infinite reverse;
}

@keyframes float1 {
    0%, 100% { transform: rotate(35deg) translate(0, 0); }
    50% { transform: rotate(40deg) translate(15px, -20px); }
}

@keyframes float2 {
    0%, 100% { transform: rotate(-20deg) translate(0, 0); }
    50% { transform: rotate(-15deg) translate(-10px, 15px); }
}

@keyframes float3 {
    0%, 100% { transform: rotate(55deg) translate(0, 0); }
    50% { transform: rotate(50deg) translate(10px, -10px); }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: color 0.3s ease;
    z-index: 2;
}

.scroll-indicator:hover {
    color: rgba(255, 255, 255, 0.7);
}

.scroll-indicator i {
    font-size: 1.2rem;
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ===== SECTIONS COMMON ===== */
.section {
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== SERVICES ===== */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
    opacity: 0;
    transform: translateY(30px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card.visible:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.2rem;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--text-light);
}

.service-card:nth-child(1) .service-icon { background: linear-gradient(135deg, #2980b9, #3498db); }
.service-card:nth-child(2) .service-icon { background: linear-gradient(135deg, #1a8a6e, #2ecc71); }
.service-card:nth-child(3) .service-icon { background: linear-gradient(135deg, #8e44ad, #a569bd); }
.service-card:nth-child(4) .service-icon { background: linear-gradient(135deg, #2c3e80, #5b6abf); }
.service-card:nth-child(5) .service-icon { background: linear-gradient(135deg, #c0392b, #e74c3c); }
.service-card:nth-child(6) .service-icon { background: linear-gradient(135deg, #16a085, #48c9b0); }
.service-card:nth-child(7) .service-icon { background: linear-gradient(135deg, #d4a017, #f1c40f); }
.service-card:nth-child(8) .service-icon { background: linear-gradient(135deg, #e67e22, #f39c12); }
.service-card:nth-child(9) .service-icon { background: linear-gradient(135deg, #0e4b6e, #1a5276); }
.service-card:nth-child(10) .service-icon { background: linear-gradient(135deg, #c0392b, #e67e22); }

.service-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== KOMPLETNA PONUDA ===== */
.services-full {
    margin-top: 3.5rem;
    text-align: center;
}

.services-full-title {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.services-full-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.8rem;
    background: transparent;
    border: 2px solid var(--accent);
    border-radius: 50px;
    color: var(--primary);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.services-toggle:hover {
    background: var(--accent);
    color: var(--text-light);
}

.services-toggle i {
    transition: transform 0.3s ease;
}

.services-toggle.expanded i {
    transform: rotate(180deg);
}

.services-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    text-align: left;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.services-full-grid.expanded {
    max-height: 2000px;
}

.service-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.2rem;
    background: var(--bg-white);
    border-radius: 10px;
    border-left: 3px solid var(--accent);
    transition: box-shadow 0.2s ease;
}

.service-item:hover {
    box-shadow: var(--shadow);
}

.service-item strong {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
}

.service-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ===== ABOUT ===== */
.about {
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 2rem 1rem;
    border-radius: 16px;
    text-align: center;
    color: var(--text-light);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px);
}

.stat-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.4rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 400;
}

/* ===== FAQ ===== */
.faq {
    background: var(--bg-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: var(--accent-light);
}

.faq-item[open] {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.3s ease;
}

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

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

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

.faq-item[open] summary {
    color: var(--primary);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
}

.faq-answer a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-answer a:hover {
    color: var(--accent);
}

/* ===== CONTACT ===== */
.contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    opacity: 0;
    transform: translateX(-20px);
    padding: 0.8rem;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.contact-item:hover {
    background: rgba(0, 0, 0, 0.03);
    transform: translateX(4px);
}

.contact-item.visible {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.1rem;
}

.contact-item h4 {
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.contact-item p,
.contact-item a {
    font-size: 0.95rem;
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent);
}

.contact-closed {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.contact-messaging {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.4rem;
}

.messaging-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.messaging-link:hover {
    color: var(--accent);
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 350px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: 0;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 2.5rem 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.footer-brand svg {
    height: 30px;
    width: auto;
}

.footer-brand span {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 3px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent-light);
}

.footer-info {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.footer-info a {
    color: var(--accent-light);
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-copy {
    font-size: 0.8rem;
    margin-top: 1rem;
    opacity: 0.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .stats-grid {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .hamburger {
        display: flex;
    }

    .hero-trust {
        gap: 1rem;
    }

    .hero-trust-item {
        font-size: 0.75rem;
    }

    .hero-float {
        display: none;
    }

    .scroll-indicator {
        bottom: 1.2rem;
        font-size: 0.6rem;
    }

    .navbar-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    }

    .navbar-links.active {
        right: 0;
    }

    .navbar-links a {
        font-size: 1.2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3.5rem 1.5rem;
    }

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

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

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .stat-card {
        padding: 1.2rem 0.5rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ===== SUPPRESS HOVER EFFECTS ON TOUCH DEVICES ===== */
@media (hover: none) {
    .service-card:hover,
    .service-card.visible:hover {
        transform: none;
        box-shadow: var(--shadow);
    }

    .contact-item:hover {
        background: transparent;
        transform: none;
    }

    .hero-cta:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    .back-to-top:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero-logo svg {
        width: 85vw;
    }

    .section {
        padding: 3rem 1.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .services-full-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 1.5rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-cta {
        width: 100%;
        text-align: center;
    }

    .hero-trust {
        gap: 0.5rem;
    }

    .faq-item summary {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .service-card,
    .stat-card,
    .contact-item {
        opacity: 1;
        transform: none;
    }
}
