@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* Global Reset */
a {
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

address {
    font-style: normal;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Offset for sticky header */
}

/* Custom Elements layout fix */
site-header {
    display: block;
    position: sticky;
    top: 20px;
    z-index: 1000;
    max-width: 1200px;
    width: calc(100% - 40px);
    margin: 0 auto;
}

site-footer {
    display: block;
}

body {
    background-color: #ffffff;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333333;
    line-height: 1.6;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* === HEADER === */
header {
    display: block;
    padding: 5px 0;
    border-radius: 30px;
    /* Important! Lays on top of other content */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    width: 100%;
    background-color: transparent;
    box-shadow: none;
    border: 1px solid transparent;
}

header.scrolled {
    background-color: #fffffff4;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.home-page site-header {
    margin-bottom: -80px;
    /* Pull the hero section up under the header */
}

/* Home page: transparent header top-level nav links are white at the top */
.home-page nav>ul>li>a {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

/* Home page: hover state turns top-level text dark on light background */
.home-page nav>ul>li>a:hover {
    color: #3c47e7;
    background-color: #f0f0f0;
}

/* Home page: scrolled header top-level nav links transition to dark text */
.home-page header.scrolled nav>ul>li>a {
    color: #333333;
    text-shadow: none;
}

.home-page header.scrolled nav>ul>li>a:hover {
    color: #3c47e7;
    background-color: #f0f0f0;
}

/*  Fundamental nav-styling */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.home-page .nav-logo {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.home-page header.scrolled .nav-logo {
    color: #1e293b;
    text-shadow: none;
}

nav>ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    align-items: center;
}

nav>ul>li>a {
    text-decoration: none;
    color: #333;
    padding: 10px 20px;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    border-radius: 24px;
    /* Rounded hover background */
}

nav>ul>li>a:hover {
    background-color: #f0f0f0;
    color: #3c47e7;
}

/* Dropdown-styling */
.dropdown {
    position: relative;
}

.dropdown>a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.dropdown>a::after {
    content: '▾';
    font-size: 1.2rem;
    display: inline-block;
    transition: transform 0.2s ease;
    line-height: 1;
    margin-top: 1px;
}

.dropdown.dropdown-open>a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    /* Hidden as standard */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Softer shadow */
    min-width: 220px;
    flex-direction: column;
    padding: 6px 0;
    gap: 0;
    border-radius: 16px;
    /* Rounded dropdown menu */
    overflow: hidden;
    /* Clip inner hover effects to the rounded border */
    border: 1px solid #f1f5f9;
}

/* Show dropdown when open class is active (controlled by click on mobile in JS) */
.dropdown.dropdown-open .dropdown-menu {
    display: flex;
}

/* On desktop, show the dropdown on hover as well so clicks can navigate to services.html */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        display: flex;
        border-top-left-radius: 0;
        margin-top: -1px;
    }

    /* Connect the trigger link with the dropdown menu */
    .dropdown:hover>a {
        background-color: #ffffff !important;
        color: #3c47e7 !important;
        border-radius: 12px 12px 0 0 !important;
        box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.02), -5px 0 15px rgba(0, 0, 0, 0.02), 5px 0 15px rgba(0, 0, 0, 0.02);
        position: relative;
        z-index: 110;
    }

    /* Hide "Alla våra tjänster" on desktop – the main "Tjänster" link handles it */
    .dropdown-all-link {
        display: none;
    }
}

/* On mobile: style it as a prominent top link with a separator below */
.dropdown-all-link a {
    font-weight: 700;
    color: #3c47e7 !important;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 14px !important;
    margin-bottom: 4px;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    color: #333333;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu a::after {
    content: '→';
    font-size: 1.15rem;
    color: #64748b;
    margin-left: 12px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: #e8e8e8;
}

.dropdown-menu a:hover::after {
    transform: translateX(3px);
    color: #3c47e7;
}

/* Contact Button in Header */
nav>ul>li>a.btn-contact,
.home-page nav>ul>li>a.btn-contact,
.home-page header.scrolled nav>ul>li>a.btn-contact {
    background-color: #3c47e7 !important;
    color: #ffffff !important;
    padding: 10px 50px !important;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(60, 71, 231, 0.35) !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
    text-shadow: none !important;
}

nav>ul>li>a.btn-contact:hover,
.home-page nav>ul>li>a.btn-contact:hover,
.home-page header.scrolled nav>ul>li>a.btn-contact:hover {
    background-color: #2632cf !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(60, 71, 231, 0.5) !important;
}

/* === MAIN GRID CONTAINER === */
.grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* 12 columns */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* === GRID ITEMS === */
.hero {
    grid-column: 1 / -1;
    /* Max width (column 1 to last) */
    background-color: #ecf0f1;
    padding: 60px 40px;
    text-align: center;
    border-radius: 8px;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #2c3e50;
}

.hero h2 {
    font-size: 1.5em;
    color: #7f8c8d;
}

/* Place the footer at the bottom of the page, and make it stick */
footer {
    background-color: #ecf0f137;
    color: #000000;
    text-align: center;
    padding: 24px 16px;
    font-size: 17px;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
    /* Push footer to the bottom of the page layout */
}

/* === SERVICES GRID & CARDS === */
.services-container {
    max-width: 1200px;
    width: calc(100% - 40px);
    margin: 0 auto;
    padding: 60px 20px 80px 20px;
    /* adjusted padding since footer is now in page flow */
    box-sizing: border-box;
}

.services-container h1 {
    font-size: 2.8em;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: left;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 205px;
    grid-auto-flow: dense;
    gap: 30px;
}

.service-card {
    position: relative;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
    transition: background 0.4s ease, width 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}

/* Grid expansion: grid-column and grid-row are set explicitly by JavaScript
   so auto-placement never puts the card in the wrong position */
.service-card.card-expanded {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
    z-index: 5;
}

.service-card:hover::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.2) 100%);
}

.service-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    margin: 0;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover .service-image {
    transform: scale(1.08);
}

.service-info {
    position: relative;
    z-index: 3;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.service-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.service-price {
    font-size: 1rem;
    color: #cbd5e1;
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.service-hover-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(20px);
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card.card-expanded .service-hover-content {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
}

.service-description {
    font-size: 0.95rem;
    color: #e2e8f0;
    line-height: 1.5;
    margin: 12px 0 16px 0;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #3c47e7;
    padding: 8px 18px;
    border-radius: 30px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(60, 71, 231, 0.3);
}

.service-card:hover .read-more-btn:hover {
    background-color: #2632cf;
    transform: translateX(3px);
}

/* === LANDING PAGE STYLES === */

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    /* Increased from 90vh for a full-screen, premium feel */
    background: url('https://images.unsplash.com/photo-1712669869857-c9c0c098d024?q=80&w=2232&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 120px 0 100px 0;
    box-sizing: border-box;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.55);
    /* Slate 900 tint for contrast */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: calc(100% - 40px);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    color: #ffffff;
    text-align: left !important;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin: 0 0 20px 0;
    line-height: 1.2;
    max-width: 750px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-align: left !important;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0 0 35px 0;
    color: #f1f5f9;
    line-height: 1.6;
    max-width: 650px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    text-align: left !important;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start !important;
    flex-wrap: wrap;
    margin-bottom: 20px;
    width: 100%;
    padding: 0 !important;
}

/* Scroll Indicator Arrow */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    /* Ensure it is clickable above hero overlays */
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: #ffffff !important;
    font-size: 2.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    border-radius: 50%;
}

.scroll-indicator a:hover {
    color: #3c47e7 !important;
    transform: scale(1.2);
    background-color: rgba(255, 255, 255, 0.1);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* Custom Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-sizing: border-box;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #3c47e7;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(60, 71, 231, 0.35);
}

.btn-primary:hover {
    background-color: #2632cf;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(60, 71, 231, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff !important;
    border: 2px solid #ffffff;
    padding: 10px 30px;
    /* Adjust padding for border */
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #0f172a !important;
    transform: translateY(-2px);
}

.btn-white {
    background-color: #ffffff;
    color: #3c47e7 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.btn-white:hover {
    background-color: #f8fafc;
    color: #2632cf !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Sections */
.section-padding {
    padding: 80px 0;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    width: calc(100% - 40px);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

main {
    max-width: 1200px;
    width: calc(100% - 40px);
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.home-page main {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.section-header {
    text-align: left;
    max-width: 700px;
    margin: 0 0 50px 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px 0;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.process-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    text-align: left;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: #e2e8f0;
}

.process-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    background-color: #eff6ff;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid #dbeafe;
    align-self: center;
}

.process-icon {
    width: 36px;
    height: 36px;
    color: #3c47e7;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.process-step-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 36px;
    height: 36px;
    background-color: #3c47e7;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(60, 71, 231, 0.3);
    transition: all 0.3s ease;
}

.process-card:hover .process-icon-wrapper {
    background-color: #3c47e7;
    border-color: #3c47e7;
    box-shadow: 0 10px 25px rgba(60, 71, 231, 0.2);
    transform: translateY(-2px);
}

.process-card:hover .process-icon {
    color: #ffffff;
    transform: scale(1.1);
}

.process-card:hover .process-step-badge {
    background-color: #1e293b;
    box-shadow: 0 4px 10px rgba(30, 41, 59, 0.3);
}

/* Horizontal connecting arrows on desktop */
@media (min-width: 992px) {
    .process-card:not(:last-child)::after {
        content: '→';
        position: absolute;
        top: 68px;
        /* Centered with the icon vertical alignment */
        right: -25px;
        /* Bridge the gap */
        color: #cbd5e1;
        font-size: 1.5rem;
        font-weight: 300;
        z-index: 1;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .process-card:hover:not(:last-child)::after {
        color: #3c47e7;
        transform: translateX(4px);
    }
}

.process-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 12px 0;
}

.process-card p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    background-color: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}

.feature-icon {
    font-size: 1.75rem;
    color: #3c47e7;
    min-width: 50px;
    height: 50px;
    background-color: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.feature-text p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Final CTA Section */
.cta-section {
    background: linear-gradient(135deg, #3c47e7 0%, #1e258a 100%);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 15px 0;
}

.cta-content p {
    font-size: 1.15rem;
    color: #e0e7ff;
    margin: 0 0 35px 0;
    line-height: 1.6;
}

/* Utilities */
.text-center {
    text-align: center;
}

.margin-top-md {
    margin-top: 40px;
}

/* Mobile responsive adjustments */
@media (max-width: 600px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

/* === SERVICE DETAILS PAGES === */
.service-detail-container {
    max-width: 1200px;
    width: calc(100% - 40px);
    margin: 140px auto 80px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.service-detail-header {
    margin-bottom: 40px;
}

.service-detail-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.service-detail-header h2 {
    font-size: 1.4rem;
    font-weight: 400;
    color: #64748b;
    margin: 0 0 20px 0;
}

.price-badge {
    display: inline-flex;
    align-items: center;
    background-color: #eff6ff;
    color: #3c47e7;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid #dbeafe;
}

.rut-badge {
    display: inline-flex;
    align-items: center;
    background-color: #f0fdf4;
    color: #166534;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid #bbf7d0;
}

.service-header-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.rut-info {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 24px;
    margin: 20px auto 40px auto !important;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    font-size: 1rem !important;
    color: #475569;
    line-height: 1.6;
    display: block;
}

.rut-info a {
    color: #3c47e7;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.rut-info a:hover {
    color: #2632cf;
}


.rut-startsida-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 24px;
    margin: 40px auto 0 auto;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.rut-startsida-box p {
    margin: 0;
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}

.rut-startsida-box a {
    color: #3c47e7;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.rut-startsida-box a:hover {
    color: #2632cf;
}

.service-detail-desc p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #334155;
    margin: 0 0 40px 0;
}

.service-detail-desc a {
    color: #3c47e7;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.service-detail-desc a:hover {
    color: #2632cf;
}

.detail-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 24px 0;
}

.included-intro-card {
    display: flex;
    gap: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
    align-items: flex-start;
}

.included-intro-card .icon {
    font-size: 1.5rem;
}

.included-intro-card p {
    margin: 0;
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.6;
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.included-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.included-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.included-card h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #eff6ff;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #475569;
    line-height: 1.5;
}

.checklist li::before {
    content: "✓";
    color: #3c47e7;
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1;
    margin-top: 2px;
}

.preparation-card {
    background-color: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 20px;
    padding: 30px;
}

.prep-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.prep-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 1.05rem;
    color: #451a03;
    line-height: 1.5;
}

.prep-list li::before {
    content: "•";
    color: #b45309;
    /* Warm brown/amber color to match preparation section card */
    font-weight: 800;
    font-size: 1.3rem;
    line-height: 1.2;
}


/* === ACCORDION & DETAILED CHECKLIST === */
.accordion-container {
    margin-top: 40px;
    margin-bottom: 40px;
}

details.accordion-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

details.accordion-item[open] {
    border-color: #3c47e7;
    box-shadow: 0 10px 25px rgba(60, 71, 231, 0.08);
}

details.accordion-item summary {
    padding: 24px 30px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background-color 0.2s ease;
}

details.accordion-item summary:hover {
    background-color: #f8fafc;
}

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

details.accordion-item summary::after {
    content: "+";
    font-size: 1.6rem;
    font-weight: 400;
    color: #64748b;
    transition: transform 0.3s ease, color 0.3s ease;
}

details.accordion-item[open] summary::after {
    content: "−";
    /* Beautiful minus symbol */
    transform: rotate(180deg);
    color: #3c47e7;
}

.accordion-content {
    padding: 0 30px 30px 30px;
    border-top: 1px solid #eff6ff;
    background-color: #f8fafc;
}

.full-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 24px;
}

.full-list-col h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #cbd5e1;
}

.full-checklist li {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 10px;
}


/* === ABOUT PAGE === */
.about-container {
    max-width: 1200px;
    width: calc(100% - 40px);
    margin: 140px auto 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.about-text-col {
    padding-bottom: 80px;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 60px;
    align-items: stretch;
}

.about-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 24px 0;
}

.about-intro {
    font-size: 1.25rem !important;
    line-height: 1.7;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #475569;
    margin: 0 0 20px 0;
}

.about-quote {
    font-size: 1.4rem !important;
    font-weight: 700;
    font-style: italic;
    color: #3c47e7;
    border-left: 4px solid #3c47e7;
    padding-left: 20px;
    margin: 30px 0 !important;
}

.about-closing {
    font-size: 1.15rem !important;
    font-weight: 600;
    color: #0f172a;
    margin-top: 30px !important;
}

.about-signature {
    margin-top: 40px;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    text-align: left;
}

.signature-name {
    font-size: 1.25rem !important;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0 !important;
}

.signature-title {
    font-size: 0.95rem !important;
    color: #64748b;
    margin: 0 !important;
}

/* About Photo Column & Image */
.about-image-col {
    display: flex;
    align-items: stretch;
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}



/* === MOBILE RESPONSIVE STYLES & HAMBURGER MENU === */

/* Default hide toggle button on desktop */
.menu-toggle {
    display: none;
}

body.menu-active {
    overflow: hidden;
    /* Prevent scrolling when mobile menu is active */
}

@media (max-width: 768px) {

    .container,
    .services-container,
    .about-container,
    .service-detail-container,
    .contact-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .footer-inner,
    .footer-bottom {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Menu Toggle Button */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 19px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
        position: relative;
    }

    .menu-toggle span {
        width: 100%;
        height: 3px;
        background-color: #333333;
        border-radius: 4px;
        transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    }

    /* Transparent menu: white hamburger lines on home page top */
    .home-page header:not(.scrolled) .menu-toggle span {
        background-color: #ffffff;
    }

    /* Animate menu toggle to "X" when open */
    .nav-open .menu-toggle span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

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

    /* Ensure dark lines for visibility on white background overlay */
    .nav-open .menu-toggle span {
        background-color: #333333 !important;
    }

    /* Navigation Container */
    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 10px 15px;
        box-sizing: border-box;
    }

    /* Navigation menu list on mobile */
    nav>ul {
        display: none;
        /* hidden by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        border-radius: 20px;
        margin-top: 12px;
        padding: 24px 20px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        border: 1px solid #e2e8f0;
        flex-direction: column;
        gap: 12px;
        box-sizing: border-box;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        z-index: 999;
        transform: translateY(-10px);
        opacity: 0;
        transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.35s ease;
    }

    /* Reveal mobile menu when open */
    nav.nav-open>ul {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }

    nav>ul>li {
        width: 100%;
        text-align: center;
    }

    nav>ul>li>a {
        padding: 12px;
        color: #1e293b !important;
        text-shadow: none !important;
        border-radius: 12px;
        font-size: 1.05rem;
    }

    nav>ul>li>a:hover {
        background-color: #f1f5f9;
    }

    /* Contact Button in Mobile Menu */
    .btn-contact {
        padding: 12px !important;
        text-align: center;
        width: 100%;
        display: block;
        box-sizing: border-box;
    }

    /* Mobile Dropdown Styling */
    .dropdown-menu {
        position: static;
        display: none;
        /* flow normally vertically */
        box-shadow: none;
        width: 100%;
        background-color: #f8fafc;
        border-radius: 12px;
        margin-top: 6px;
        padding: 6px 0;
    }

    .dropdown.dropdown-open .dropdown-menu {
        display: flex;
    }

    .dropdown-menu a {
        padding: 10px 15px;
        font-size: 0.95rem;
        color: #475569 !important;
    }

    /* Landing Page Logo styling */
    .nav-logo {
        font-size: 1.15rem;
    }

    /* Grids & Columns Mobilization */
    .services-grid {
        grid-template-columns: 1fr;
        /* Single column */
        grid-auto-rows: auto;
        /* Cards grow with their content */
        gap: 16px;
    }

    /* Cards expand downward on tap – collapsed by default */
    .service-card {
        min-height: 220px;
        height: auto;
    }

    /* Hidden until tapped */
    .service-card .service-hover-content {
        max-height: 0;
        opacity: 0;
        transform: translateY(10px);
        transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1),
            opacity 0.35s ease,
            transform 0.35s ease;
        padding-top: 0;
    }

    /* Expanded state (added by JS on first tap) */
    .service-card.mobile-expanded .service-hover-content {
        max-height: 300px;
        opacity: 1;
        transform: translateY(0);
        padding-top: 8px;
    }

    /* Visual cue: expanded card gets a stronger shadow */
    .service-card.mobile-expanded {
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    }

    .service-card:hover {
        grid-column: span 1;
        grid-row: span 1;
    }


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

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

    .feature-card {
        padding: 24px;
    }

    /* Spacers & Padding */
    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Hero section sizing */
    .hero-section {
        min-height: 92vh;
        padding: 140px 0 80px 0;
        text-align: left !important;
    }

    .hero-title {
        font-size: 2.15rem;
        text-align: left !important;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 25px;
        text-align: left !important;
    }

}


/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */

.site-footer {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1a2540 50%, #0f172a 100%);
    color: #94a3b8;
    padding: 64px 0 0;
    overflow: hidden;
    text-align: left;
    /* Hide the default cursor only on desktop – JS-driven custom cursor */
}

/* Decorative radial glows */
.site-footer::before,
.site-footer::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.site-footer::before {
    width: 500px;
    height: 500px;
    top: -120px;
    left: -100px;
    background: radial-gradient(circle, rgba(60, 71, 231, 0.10) 0%, transparent 70%);
}

.site-footer::after {
    width: 600px;
    height: 600px;
    bottom: -150px;
    right: -120px;
    background: radial-gradient(circle, rgba(60, 71, 231, 0.07) 0%, transparent 70%);
}


/* ════════════════════════════════════════════════════════
   FOOTER CLEANING GAME
════════════════════════════════════════════════════════ */

/* Dirt/Water droplet particles – created + removed by JS */
.footer-dirt {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
        opacity 0.35s ease;
    will-change: transform, opacity;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 
        inset -3px -3px 6px rgba(255, 255, 255, 0.45), /* Internal light reflection opposite to light source */
        inset 3px 3px 6px rgba(0, 0, 0, 0.55),        /* Refraction shadow on light source side */
        2px 3px 6px rgba(0, 0, 0, 0.35);              /* Soft shadow cast on footer background */
}

.footer-dirt::after {
    content: '';
    position: absolute;
    top: 15%;
    left: 15%;
    width: 30%;
    height: 20%;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 50%;
    transform: rotate(-30deg);
}

.footer-dirt.cleaned {
    transform: scale(0) rotate(90deg) !important;
    opacity: 0 !important;
}

/* ── Game cursor (position: fixed, attached to <body>) ── */
.footer-game-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    /* Align the squeegee rubber blade (y = ~28% of height) exactly with the mouse pointer */
    transform: translate(-50%, -28%);
    will-change: left, top;
}

.footer-game-cursor.visible {
    opacity: 1;
}

/* Cleaning-radius ring centered on the squeegee blade hotspot */
.footer-cursor-ring {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1.5px solid rgba(60, 71, 231, 0.45);
    background: rgba(60, 71, 231, 0.06);
    top: 28%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.footer-game-cursor.visible .footer-cursor-ring {
    animation: clean-pulse 1.5s ease-in-out infinite;
}

@keyframes clean-pulse {

    0%,
    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Squeegee vector cursor container */
.footer-cursor-squeegee {
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    transform: rotate(-20deg);
    transition: transform 0.1s ease;
}

/* ── Progress bar ── */
.footer-game-progress {
    position: absolute;
    top: 18px;
    right: 28px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    pointer-events: none;
}

.fp-bar {
    width: 150px;
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.fp-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3c47e7, #818cf8);
    border-radius: 3px;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.fp-text {
    font-size: 0.74rem;
    color: #94a3b8;
    font-style: italic;
}

/* ── Completion overlay ── */
.footer-game-complete {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    z-index: 30;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.footer-game-complete.visible {
    opacity: 1;
    pointer-events: auto;
}

.fgc-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.fgc-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
}

.fgc-sub {
    font-size: 0.95rem;
    color: #94a3b8;
    margin: 0;
}

.fgc-reset {
    margin-top: 6px;
    padding: 11px 28px;
    background: linear-gradient(135deg, #3c47e7, #6366f1);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer !important;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 18px rgba(60, 71, 231, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fgc-reset:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(60, 71, 231, 0.55);
}

/* ── Footer inner grid ────────────────── */
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 52px;
    max-width: 1200px;
    width: calc(100% - 40px);
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 52px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.02em;
    margin: 0 0 14px 0;
    font-family: 'Outfit', sans-serif;
}

.footer-tagline {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #94a3b8;
    margin: 0 0 22px 0;
}

.footer-contact-pills {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 30px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.83rem;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    width: fit-content;
}

.footer-contact-pill:hover {
    background: rgba(60, 71, 231, 0.18);
    border-color: rgba(60, 71, 231, 0.4);
    color: #fff;
}

.footer-heading {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #e2e8f0;
    margin: 0 0 18px 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
    color: #f1f5f9;
    padding-left: 6px;
}

.footer-cta {
    margin-top: 24px;
}

.footer-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #3c47e7, #6366f1);
    color: #fff;
    text-decoration: none;
    padding: 11px 22px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 18px rgba(60, 71, 231, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(60, 71, 231, 0.5);
}

/* ── Footer bottom bar ────────────────── */
.footer-bottom {
    max-width: 1200px;
    width: calc(100% - 40px);
    margin: 0 auto;
    padding: 22px 20px 34px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.82rem;
    color: #64748b;
}

.footer-fun-hint {
    font-size: 0.78rem !important;
    font-style: italic;
    color: #475569 !important;
    transition: color 0.3s ease;
}

.site-footer:hover .footer-fun-hint {
    color: #64748b !important;
}

/* Hide default/pointer cursors inside the footer on desktop to keep squeegee active */
@media (min-width: 769px) and (pointer: fine) {
    .site-footer,
    .site-footer * {
        cursor: none !important;
    }
}

/* === FOOTER RESPONSIVENESS OVERRIDES === */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 0;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-logo {
        font-size: 1.2rem;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    /* Pills go full-width on small screens */
    .footer-contact-pill {
        width: 100%;
        box-sizing: border-box;
        justify-content: flex-start;
    }

    /* Center CTA button */
    .footer-cta {
        align-self: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .footer-fun-hint {
        display: none;
        /* Hide hint on mobile – game is desktop-only */
    }

    /* Disable cleaning game elements on small screens */
    .footer-game-cursor,
    .footer-game-progress,
    .footer-game-complete,
    .footer-dirt {
        display: none !important;
    }

    .site-footer {
        cursor: auto !important;
    }

    /* Service detail responsiveness */
    .service-detail-container {
        margin-top: 110px;
        margin-bottom: 50px;
    }

    .service-detail-header h1 {
        font-size: 2.2rem;
    }

    .service-detail-header h2 {
        font-size: 1.15rem;
    }

    .detail-section-title {
        font-size: 1.45rem;
    }

    .included-card {
        padding: 20px;
    }

    .preparation-card {
        padding: 20px;
    }

    /* Accordion mobile responsiveness */
    details.accordion-item summary {
        padding: 16px 20px;
        font-size: 1.05rem;
    }

    .accordion-content {
        padding: 0 20px 20px 20px;
    }

    .full-list-grid {
        gap: 24px;
    }

    .full-list-col h4 {
        font-size: 1.15rem;
        margin-top: 20px;
    }

    .price-badge,
    .rut-badge {
        font-size: 0.9rem;
        padding: 6px 14px;
    }

    /* About page mobile responsiveness */
    .about-container {
        margin-top: 110px;
        margin-bottom: 0;
    }

    .about-text-col {
        padding-bottom: 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-image-col {
        order: 1;
        /* Place the image under the text on mobile */
        justify-content: center;
    }

    .about-photo {
        width: 100%;
        max-width: 320px;
        height: auto;
        margin: 0 auto;
        border-radius: 20px 20px 0 0;
        /* Flat at the bottom where it touches the footer */
    }

    .about-content h1 {
        font-size: 2.2rem;
        margin-bottom: 16px;
    }

    .about-intro {
        font-size: 1.15rem !important;
    }


}

/* === CONTACT PAGE === */
.contact-container {
    max-width: 1200px;
    width: calc(100% - 40px);
    margin: 140px auto 80px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info-col h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 20px 0;
}

.contact-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background-color: #eff6ff;
    color: #3c47e7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text h4 {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.contact-text p {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #0f172a;
}

.contact-text p a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-text p a:hover {
    color: #3c47e7;
}

.opening-hours-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 30px;
    max-width: 440px;
}

.opening-hours-box h4 {
    margin: 0 0 12px 0;
    font-size: 1.05rem;
    color: #0f172a;
    font-weight: 700;
}

.opening-hours-box .days {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    color: #475569;
}

.opening-hours-box .hours {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #3c47e7;
}

/* Contact Form */
.form-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.02), 0 8px 10px -6px rgba(0, 0, 0, 0.02), 0 0 1px 1px rgba(0, 0, 0, 0.02);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #0f172a;
    background-color: #f8fafc;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3c47e7;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(60, 71, 231, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-group label {
    font-weight: normal;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
}

/* Form success message */
.form-success-message {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    animation: contactFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #dcfce7;
    color: #15803d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}

.form-success-message h3 {
    margin: 0 0 8px 0;
    color: #166534;
    font-size: 1.4rem;
    font-weight: 700;
}

.form-success-message p {
    margin: 0;
    color: #166534;
    font-size: 0.95rem;
    line-height: 1.6;
}

@keyframes contactFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

/* Loading button states */
.btn-submit {
    position: relative;
    transition: all 0.2s ease;
}

.btn-submit:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
    border-color: #94a3b8;
}

/* Responsive contact section */
@media (max-width: 768px) {
    .contact-container {
        margin-top: 110px;
        margin-bottom: 50px;
    }

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

    .contact-info-col h1 {
        font-size: 2.2rem;
    }

    .contact-intro {
        margin-bottom: 30px;
    }

    .form-card {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* === TRANSLATION SELECTOR STYLES === */
.lang-selector-li {
    display: inline-flex;
    align-items: center;
}

.lang-selector {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    background-color: #f1f5f9;
    padding: 4px 8px;
    border-radius: 20px;
    margin-left: 10px;
}

.lang-btn {
    background: none;
    border: none;
    padding: 2px 6px;
    color: #64748b;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    color: #3c47e7;
}

.lang-btn.active {
    color: #ffffff;
    background-color: #3c47e7;
}

.lang-separator {
    color: #cbd5e1;
    user-select: none;
    font-size: 0.8rem;
}

/* Google Translate Overrides & UI Hiding */
body {
    top: 0 !important;
}

.skiptranslate iframe,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
#goog-gt-tt,
.goog-te-tooltip,
.goog-te-tooltip:hover {
    display: none !important;
    visibility: hidden !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .lang-selector-li {
        justify-content: center;
        margin: 12px 0 6px 0;
        width: 100%;
    }

    .lang-selector {
        margin-left: 0;
        padding: 6px 12px;
    }
}

/* Under Construction Alert Modal Popup */
.construction-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    transition: opacity 0.3s ease;
}

.construction-modal-box {
    background-color: #ffffff;
    max-width: 500px;
    width: 100%;
    border-radius: 24px;
    padding: 35px 30px;
    box-sizing: border-box;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
    border: 1px solid #f1f5f9;
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.construction-modal-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.construction-modal-box h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 15px 0;
}

.construction-modal-box p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 28px 0;
}

.construction-modal-box .btn-modal-accept {
    background-color: #3c47e7;
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 40px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(60, 71, 231, 0.3);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.construction-modal-box .btn-modal-accept:hover {
    background-color: #2632cf;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(60, 71, 231, 0.45);
}

.construction-modal-box .btn-modal-accept:active {
    transform: translateY(0);
}