/* Stendibiancheria Gimi — modern-brand (teal acqua, pietra, bianco bucato — nicchia stendibiancheria) */

body {
    font-family: 'Open Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Teal / fresh laundry accent (overrides template “coral” class names) */
.bg-coral-100 {
    background-color: #ccfbf1;
}
.bg-coral-200 {
    background-color: #99f6e4;
}
.bg-coral-500 {
    background-color: #0d9488;
}
.bg-coral-600 {
    background-color: #0f766e;
}
.text-coral-200 {
    color: #99f6e4;
}
.text-coral-500 {
    color: #0d9488;
}
.text-coral-600 {
    color: #0f766e;
}
.border-coral-500 {
    border-color: #0d9488;
}
.ring-coral-500 {
    --tw-ring-color: #0d9488;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

.animate-fade-up-delay {
    animation: fadeUp 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-pulse {
    animation: pulse-soft 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

#header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* Header logo: WebP inside <picture>, fixed display height */
.header-logo-picture {
    display: block;
    line-height: 0;
}

.header-logo-picture img {
    height: 2.5rem;
    width: auto;
    max-width: min(11rem, 42vw);
    object-fit: contain;
    object-position: left center;
}

@media (min-width: 768px) {
    .header-logo-picture img {
        max-width: 12rem;
    }
}

/* Desktop: horizontal menu in a soft “rail” (not a mobile drawer pattern) */
.site-header-nav-desk {
    justify-content: center;
}

.site-header-nav-pill {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.125rem;
    padding: 0.25rem 0.35rem;
    max-width: min(100%, 52rem);
    background: rgb(255 255 255 / 0.55);
    border: 1px solid rgb(231 229 228 / 0.85);
    border-radius: 9999px;
    box-shadow:
        0 1px 2px rgb(0 0 0 / 0.04),
        inset 0 1px 0 rgb(255 255 255 / 0.65);
    backdrop-filter: blur(8px);
}

#header.scrolled .site-header-nav-pill {
    background: rgb(255 255 255 / 0.88);
    border-color: rgb(231 229 228);
    box-shadow:
        0 1px 3px rgb(0 0 0 / 0.06),
        inset 0 1px 0 rgb(255 255 255 / 0.9);
}

@media (min-width: 1280px) {
    .site-header-nav-pill {
        flex-wrap: nowrap;
        gap: 0.0625rem;
        padding: 0.3rem 0.45rem;
    }
}

.nav-desk-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 0.4rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #57534e;
    transition:
        background-color 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease;
}

@media (min-width: 1024px) {
    .nav-desk-link {
        padding: 0.45rem 0.65rem;
        font-size: 0.8125rem;
    }
}

.nav-desk-link:hover {
    color: #0f766e;
    background-color: rgb(240 253 250 / 0.95);
}

.nav-desk-link.is-active {
    color: #fff;
    font-weight: 600;
    background: linear-gradient(145deg, #14b8a6 0%, #0d9488 50%, #0f766e 100%);
    box-shadow: 0 1px 3px rgb(13 148 136 / 0.35);
}

#header.scrolled .nav-desk-link:hover {
    background-color: rgb(204 251 241 / 0.7);
}

#header.scrolled .nav-desk-link.is-active:hover {
    color: #fff;
    background: linear-gradient(145deg, #14b8a6 0%, #0d9488 50%, #0f766e 100%);
}

/* Mobile menu accordion */
.mobile-nav-link {
    display: block;
    padding: 0.65rem 0.25rem;
    font-weight: 500;
    color: #44403c;
    border-radius: 0.375rem;
}

.mobile-nav-link:hover {
    color: #0d9488;
}

.mobile-nav-details {
    border-top: 1px solid rgb(245 245 244);
    margin-top: 0.35rem;
    padding-top: 0.35rem;
}

.mobile-nav-details > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.25rem;
    font-weight: 600;
    color: #292524;
    border-radius: 0.375rem;
    user-select: none;
}

.mobile-nav-details > summary::-webkit-details-marker {
    display: none;
}

.mobile-nav-details > summary:hover {
    color: #0d9488;
}

.mobile-nav-chevron {
    transition: transform 0.2s ease;
    opacity: 0.5;
}

.mobile-nav-details[open] > summary .mobile-nav-chevron {
    transform: rotate(180deg);
}

.mobile-nav-sub {
    padding: 0.25rem 0 0.5rem 0.5rem;
    margin-left: 0.35rem;
    border-left: 2px solid rgb(204 251 241);
}

.mobile-nav-group-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a8a29e;
    margin: 0.5rem 0 0.25rem;
    padding-left: 0.35rem;
}

.mobile-nav-group-label:first-child {
    margin-top: 0;
}

.mobile-nav-sublink {
    display: block;
    padding: 0.45rem 0.35rem;
    font-size: 0.875rem;
    color: #57534e;
    border-radius: 0.375rem;
}

.mobile-nav-sublink:hover {
    color: #0d9488;
    background-color: rgb(250 250 249);
}

.mobile-nav-sublink--current {
    color: #0f766e;
    font-weight: 600;
    background-color: rgb(240 253 250);
}

/* Primary CTA in header */
.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    min-height: 2.5rem;
    padding: 0.375rem 1.125rem;
    border-radius: 9999px;
    color: #fff;
    background: linear-gradient(145deg, #14b8a6 0%, #0d9488 45%, #0f766e 100%);
    border: 1px solid rgb(13 148 136 / 0.45);
    box-shadow:
        0 1px 0 rgb(255 255 255 / 0.2) inset,
        0 1px 2px rgb(0 0 0 / 0.06),
        0 6px 16px rgb(13 148 136 / 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.header-cta:hover {
    filter: brightness(1.06);
    box-shadow:
        0 1px 0 rgb(255 255 255 / 0.25) inset,
        0 2px 4px rgb(0 0 0 / 0.08),
        0 10px 24px rgb(13 148 136 / 0.35);
    transform: translateY(-1px);
}

.header-cta:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

.header-cta.header-cta--block {
    width: 100%;
    margin-top: 0.75rem;
    min-height: 2.75rem;
}

.header-cta-wrap {
    padding-left: 0.75rem;
    margin-left: 0.5rem;
    border-left: 1px solid rgb(231 229 228 / 0.95);
}

@media (min-width: 1024px) {
    .header-cta-wrap {
        padding-left: 1rem;
        margin-left: 0.75rem;
    }
}

#mobile-menu {
    transition: all 0.3s ease-in-out;
}

#mobile-menu.open {
    display: block;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f5f5f4;
}

::-webkit-scrollbar-thumb {
    background: #a8a29e;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #78716c;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

input::placeholder {
    color: #a8a29e;
}

input:focus {
    outline: none;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.image-shine {
    position: relative;
    overflow: hidden;
}

.image-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.image-shine:hover::after {
    left: 100%;
}

.section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.bg-gradient-warm {
    background: linear-gradient(135deg, #fafaf9 0%, #f0fdfa 100%);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #292524 0%, #1c1917 100%);
}

.btn-primary {
    background-color: #0d9488;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgb(13 148 136 / 0.3);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgb(13 148 136 / 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #44403c;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    border: 2px solid #d6d3d1;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #a8a29e;
    background-color: #fafaf9;
}

#testimonial-carousel {
    position: relative;
}

#testimonial-track {
    display: flex;
    transition: transform 0.3s ease;
}

#testimonial-track > div {
    flex: 0 0 100%;
    padding: 0 1rem;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background-color: #d6d3d1;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.testimonial-dot.active {
    background-color: #0d9488;
}

@media (max-width: 640px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-stats .w-px {
        width: 100%;
        height: 1px;
    }
}

@media print {
    header,
    footer,
    #mobile-menu,
    button,
    .no-print {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
    a {
        color: black;
        text-decoration: underline;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

::selection {
    background-color: #0d9488;
    color: white;
}

::-moz-selection {
    background-color: #0d9488;
    color: white;
}

/* Inner pages: main clears fixed header; breadcrumb sits on its own ribbon */
main.page-inner {
    padding-top: 7.25rem;
}

@media (min-width: 768px) {
    main.page-inner {
        padding-top: 7.75rem;
    }
}

.page-breadcrumb-bar {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid rgb(231 229 228 / 0.95);
    background: linear-gradient(180deg, #ffffff 0%, #fafaf9 45%, #f5f5f4 100%);
    box-shadow: 0 4px 12px -2px rgb(28 25 23 / 0.06);
}

.page-breadcrumb-bar nav ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-breadcrumb-bar .breadcrumb-sep {
    color: #d6d3d1;
    font-weight: 300;
    user-select: none;
}

.page-breadcrumb-bar [aria-current="page"] span:last-child {
    color: #0f766e;
}
