/* =============================================
    Schluesseldienst – Professional Styles
    ============================================= */

/* === CUSTOM PROPERTIES === */
:root {
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --primary-light: #fbbf24;
    --secondary: #3b82f6;
    --dark-900: #172033;
    --dark-800: #23314a;
    --dark-700: #4a5b77;
    --dark-600: #64748b;
    --light-100: #fffdf7;
    --light-200: #f5efe2;
    --light-300: #e2d8c4;
    --text-light: #fffefb;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --shadow-sm: 0 10px 24px rgba(148, 163, 184, 0.12);
    --shadow-md: 0 18px 40px rgba(148, 163, 184, 0.14);
    --shadow-lg: 0 24px 54px rgba(148, 163, 184, 0.18);
    --shadow-xl: 0 30px 80px rgba(148, 163, 184, 0.22);
    --shadow-glow: 0 0 30px rgba(245,158,11,0.22);
}

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.08), transparent 30%),
        linear-gradient(180deg, #fffefb 0%, var(--light-100) 45%, #fff7ea 100%);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === PRELOADER === */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(255, 253, 247, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-icon {
    animation: preloaderSpin 1s linear infinite;
}

@keyframes preloaderSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 253, 247, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(31, 41, 55, 0.08);
    box-shadow: 0 12px 30px rgba(148, 163, 184, 0.16);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-dark);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    transition: var(--transition);
}

.logo-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo:hover .logo-icon {
    transform: rotate(-10deg) scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    color: rgba(31, 41, 55, 0.72);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--text-dark);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--dark-900);
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === HERO === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    filter: brightness(0.9) saturate(0.9);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(255, 252, 245, 0.82) 0%,
            rgba(255, 250, 241, 0.68) 42%,
            rgba(255, 247, 234, 0.9) 100%
        ),
        linear-gradient(135deg,
            rgba(245, 158, 11, 0.18) 0%,
            rgba(255, 255, 255, 0.05) 55%,
            rgba(59, 130, 246, 0.08) 100%
        );
}

/* Hero floating shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.14);
    animation: floatShape linear infinite;
}

.shape-1 {
    width: 400px; height: 400px;
    top: -100px; right: -100px;
    animation-duration: 20s;
}
.shape-2 {
    width: 200px; height: 200px;
    bottom: 20%; left: -60px;
    animation-duration: 15s;
    animation-delay: -5s;
}
.shape-3 {
    width: 120px; height: 120px;
    top: 30%; right: 20%;
    background: rgba(59, 130, 246, 0.12);
    animation-duration: 18s;
    animation-delay: -8s;
}
.shape-4 {
    width: 80px; height: 80px;
    bottom: 30%; right: 10%;
    animation-duration: 12s;
    animation-delay: -3s;
}
.shape-5 {
    width: 300px; height: 300px;
    top: 50%; left: 30%;
    background: rgba(59, 130, 246, 0.09);
    animation-duration: 25s;
    animation-delay: -12s;
}

@keyframes floatShape {
    0% { transform: translateY(0) rotate(0deg) scale(1); }
    25% { transform: translateY(-30px) rotate(90deg) scale(1.05); }
    50% { transform: translateY(-15px) rotate(180deg) scale(0.95); }
    75% { transform: translateY(-40px) rotate(270deg) scale(1.02); }
    100% { transform: translateY(0) rotate(360deg) scale(1); }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 840px;
    margin: 0 auto;
}

/* Hero animation classes */
.animate-hero {
    opacity: 0;
    transform: translateY(40px);
    animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes heroSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 50px;
    color: var(--primary-dark);
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(31, 41, 55, 0.76);
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font);
    cursor: pointer;
    border: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--primary);
    color: var(--dark-900);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.35);
}

.btn-glow {
    animation: btnGlow 3s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.2); }
    50% { box-shadow: 0 0 40px rgba(245, 158, 11, 0.45); }
}

.btn-outline {
    background: rgba(255, 255, 255, 0.58);
    color: var(--text-dark);
    border: 2px solid rgba(31, 41, 55, 0.12);
    backdrop-filter: blur(12px);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.25rem;
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(31, 41, 55, 0.65);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(31, 41, 55, 0.18);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(14px); opacity: 0.3; }
}

/* === TRUST STRIP === */
.trust-strip {
    padding: 48px 0;
    background: rgba(255, 255, 255, 0.72);
    border-top: 1px solid rgba(245, 158, 11, 0.1);
    border-bottom: 1px solid rgba(31, 41, 55, 0.06);
    backdrop-filter: blur(14px);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(245, 239, 226, 0.9);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.trust-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 14px;
    color: var(--primary);
    transition: var(--transition);
}

.trust-item:hover .trust-icon {
    background: rgba(245, 158, 11, 0.15);
    transform: scale(1.05);
}

.trust-text strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 700;
}

.trust-text span {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* === SECTION HEADER === */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 16px;
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* === SERVICES === */
.services {
    padding: 100px 0;
    background: var(--light-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    position: relative;
    background: white;
    border-radius: var(--radius);
    padding: 40px 32px;
    border: 1px solid var(--light-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(245,158,11,0.05));
    border-radius: var(--radius-sm);
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-card-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--dark-900);
    transform: scale(1.05) rotate(-3deg);
}

.service-card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 12px;
    background: var(--primary);
    color: var(--dark-900);
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card > p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    margin-bottom: 24px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--dark-600);
}

.service-features svg {
    color: var(--primary);
    flex-shrink: 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-link:hover {
    gap: 14px;
    color: var(--primary-dark);
}

/* === SHOWCASE === */
.showcase {
    padding: 100px 0;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 28%),
        linear-gradient(180deg, #fffdf8 0%, #fff8ee 100%);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.showcase-card {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 216, 196, 0.9);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.showcase-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 4.5;
}

.showcase-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23, 32, 51, 0) 45%, rgba(23, 32, 51, 0.14) 100%);
}

.showcase-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.showcase-card:hover .showcase-media img {
    transform: scale(1.06);
}

.showcase-copy {
    padding: 24px 24px 28px;
}

.showcase-kicker {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.12);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.showcase-copy h3 {
    margin-bottom: 12px;
    color: var(--text-dark);
    font-size: 1.2rem;
    line-height: 1.35;
}

.showcase-copy p {
    color: var(--dark-700);
    font-size: 0.95rem;
}

/* === PROCESS === */
.process {
    padding: 100px 0;
    background: linear-gradient(180deg, #fffaf0 0%, #fffdf8 100%);
}

.process .section-title {
    color: var(--text-dark);
}

.process .section-tag {
    background: rgba(245, 158, 11, 0.12);
}

.process-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

.process-step {
    text-align: center;
    padding: 40px 28px;
    background: white;
    border: 1px solid var(--light-200);
    border-radius: var(--radius);
    flex: 1;
    max-width: 320px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.process-step:hover {
    background: white;
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.22);
    box-shadow: var(--shadow-lg);
}

.process-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(180deg, rgba(245,158,11,0.3), transparent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1;
}

.process-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 50%;
    color: var(--primary);
    margin: 0 auto 20px;
}

.process-step h3 {
    color: var(--text-dark);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--dark-600);
    font-size: 0.9rem;
    line-height: 1.7;
}

.process-connector {
    display: flex;
    align-items: center;
    padding-top: 90px;
    color: rgba(245, 158, 11, 0.5);
}

/* === ABOUT === */
.about {
    padding: 100px 0;
    background: transparent;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image-wrapper:hover img {
    transform: scale(1.04);
}

.about-image-accent {
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 60%;
    height: 60%;
    border: 3px solid var(--primary);
    border-radius: var(--radius);
    z-index: -1;
}

.about-experience {
    position: absolute;
    bottom: -24px;
    left: 24px;
    background: var(--primary);
    color: var(--dark-900);
    padding: 20px 28px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 800;
    font-size: 0.85rem;
    line-height: 1.3;
    box-shadow: var(--shadow-lg);
}

.about-image {
    position: relative;
}

.experience-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.experience-label {
    display: block;
    font-weight: 600;
}

.about-content .section-tag {
    margin-bottom: 12px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--dark-600);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--light-200);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-dark);
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* === TESTIMONIALS === */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(180deg, #fffefb 0%, #fff6e9 100%);
}

.testimonials .section-title {
    color: var(--text-dark);
}

.testimonials .section-tag {
    background: rgba(245, 158, 11, 0.12);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(245, 239, 226, 0.95);
    border-radius: var(--radius);
    padding: 36px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.testimonial-card:hover {
    background: white;
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.18);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-text {
    color: var(--dark-700);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--dark-900);
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 50%;
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.92rem;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* === EMERGENCY CTA === */
.emergency-cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.emergency-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.emergency-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.72) saturate(0.9);
}

.emergency-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg,
        rgba(255, 252, 245, 0.84) 0%,
        rgba(255, 244, 224, 0.7) 100%
    );
}

.emergency-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.emergency-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.72);
    border: 2px solid rgba(245, 158, 11, 0.28);
    border-radius: 50%;
    color: var(--primary);
    margin: 0 auto 28px;
    animation: emergencyPulse 2s ease-in-out infinite;
}

@keyframes emergencyPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(245, 158, 11, 0); }
}

.emergency-content h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.emergency-content p {
    color: rgba(31, 41, 55, 0.74);
    font-size: 1.05rem;
    margin-bottom: 36px;
}

/* === CONTACT === */
.contact {
    padding: 100px 0;
    background: var(--light-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.contact-card {
    background: white;
    border: 1px solid var(--light-200);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.contact-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    color: var(--primary);
    margin: 0 auto 20px;
}

.contact-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.contact-value {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.1rem;
}

a.contact-value:hover {
    color: var(--primary);
}

/* === FOOTER === */
.footer {
    background: #fff9ef;
    padding: 64px 0 0;
    border-top: 1px solid rgba(31, 41, 55, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(31, 41, 55, 0.08);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-top: 16px;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--text-dark);
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.footer-contact a {
    color: var(--primary);
    font-weight: 600;
}

.footer-contact a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.footer-legal a:hover {
    color: var(--primary);
}

/* === SUBPAGE === */
.subpage-hero {
    min-height: 88vh;
}

.subpage-hero .hero-content {
    max-width: 920px;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(245, 158, 11, 0.16);
    border-radius: 999px;
    color: var(--dark-700);
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.subpage-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(31, 41, 55, 0.08);
    border-radius: 999px;
    color: var(--dark-700);
    font-size: 0.88rem;
    box-shadow: var(--shadow-sm);
}

.service-detail {
    padding: 100px 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: start;
}

.detail-content p {
    color: var(--dark-700);
    margin-bottom: 16px;
}

.detail-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--light-200);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    color: var(--dark-700);
}

.detail-list svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.detail-aside {
    display: grid;
    gap: 22px;
}

.detail-image-card,
.detail-note,
.seo-box,
.faq-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--light-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.detail-image-card {
    overflow: hidden;
}

.detail-image-card-secondary img {
    aspect-ratio: 4 / 2.8;
}

.detail-image-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.detail-image-copy {
    padding: 22px 24px 26px;
}

.detail-image-copy h3,
.detail-note h3,
.seo-box h3,
.faq-item h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.detail-image-copy p,
.detail-note p,
.seo-box p,
.faq-item p,
.seo-box li {
    color: var(--dark-700);
    font-size: 0.95rem;
}

.detail-note,
.seo-box,
.faq-item {
    padding: 26px 24px;
}

.detail-note ul,
.seo-box ul {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.detail-note li,
.seo-box li {
    position: relative;
    padding-left: 18px;
}

.detail-note li::before,
.seo-box li::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
}

.benefits-band {
    padding: 100px 0;
    background: linear-gradient(180deg, #fff8ee 0%, #fffef9 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    padding: 32px 28px;
    background: white;
    border: 1px solid var(--light-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.benefit-card h3 {
    margin: 18px 0 10px;
    color: var(--text-dark);
    font-size: 1.15rem;
}

.benefit-card p {
    color: var(--dark-700);
    font-size: 0.94rem;
}

.benefit-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(245, 158, 11, 0.12);
    color: var(--primary);
}

.faq-section {
    padding: 100px 0;
}

.faq-grid {
    display: grid;
    gap: 18px;
    max-width: 920px;
    margin: 0 auto;
}

.internal-cta {
    padding: 90px 0 110px;
}

.internal-cta-card {
    display: grid;
    grid-template-columns: 1.1fr auto;
    gap: 24px;
    align-items: center;
    padding: 36px 40px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(255, 255, 255, 0.92));
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.internal-cta-card h2 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.internal-cta-card p {
    color: var(--dark-700);
}

.internal-cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* === FLOATING PHONE === */
.floating-phone {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--primary);
    color: var(--dark-900);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.35);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-phone.visible {
    transform: translateY(0);
    opacity: 1;
}

.floating-phone:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.5);
    background: var(--primary-light);
}

/* === BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 900;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    border: 1px solid rgba(31, 41, 55, 0.08);
    border-radius: 50%;
    cursor: pointer;
    font-family: var(--font);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    transform: translateY(0);
    opacity: 1;
}

.back-to-top:hover {
    background: var(--primary);
    color: var(--dark-900);
    transform: translateY(-4px);
}

/* === SCROLL REVEAL === */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-grid .showcase-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .services-grid .service-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .about-grid {
        gap: 48px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-grid,
    .internal-cta-card {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 253, 247, 0.98);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        padding: 48px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(148, 163, 184, 0.28);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-content {
        padding: 100px 16px 60px;
    }

    .hero-scroll {
        bottom: 20px;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .showcase-grid .showcase-card:last-child {
        max-width: none;
    }

    .services-grid .service-card:last-child {
        max-width: none;
    }

    .process-grid {
        flex-direction: column;
        align-items: center;
    }

    .process-connector {
        transform: rotate(90deg);
        padding-top: 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-content {
        text-align: center;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid .testimonial-card:last-child {
        max-width: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .floating-phone-text {
        display: none;
    }

    .floating-phone {
        padding: 14px;
        border-radius: 50%;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .subpage-meta {
        align-items: stretch;
    }

    .meta-pill {
        width: 100%;
        justify-content: center;
    }

    .internal-cta-card {
        padding: 30px 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .btn-large {
        padding: 16px 32px;
        font-size: 1.05rem;
    }
}
