/* ==========================================================================
   Elektro Dosensenken & Schlitzen — Modernized Stylesheet
   ========================================================================== */

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

:root {
    /* Dark theme tokens */
    --bg-primary: #06070d;
    --bg-secondary: #0c0e17;
    --bg-tertiary: #141826;
    --bg-elevated: #1a1f30;

    --text-primary: #f8fafc;
    --text-secondary: #a3aac1;
    --text-tertiary: #6b7290;

    --accent-orange: #ff7a18;
    --accent-amber: #f59e0b;
    --accent-deep: #ea580c;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --glass-bg: rgba(20, 24, 38, 0.55);
    --glass-border: rgba(255, 255, 255, 0.08);

    --shadow-glow: 0 20px 60px -15px rgba(255, 122, 24, 0.45);
    --shadow-card: 0 18px 40px -20px rgba(0, 0, 0, 0.6);
    --shadow-strong: 0 30px 80px -20px rgba(0, 0, 0, 0.8);

    --radius-sm: 0.5rem;
    --radius: 1rem;
    --radius-lg: 1.5rem;

    --gradient-accent: linear-gradient(135deg, #ff7a18 0%, #ffa726 50%, #f59e0b 100%);
    --gradient-accent-strong: linear-gradient(135deg, #ff5722 0%, #ff7a18 50%, #ffa726 100%);
    --gradient-text: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

body.light-theme {
    --bg-primary: #f6f7fb;
    --bg-secondary: #ffffff;
    --bg-tertiary: #eef0f6;
    --bg-elevated: #ffffff;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;

    --border-color: rgba(15, 23, 42, 0.08);
    --border-strong: rgba(15, 23, 42, 0.16);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(15, 23, 42, 0.06);

    --shadow-glow: 0 20px 50px -15px rgba(255, 122, 24, 0.35);
    --shadow-card: 0 12px 30px -15px rgba(15, 23, 42, 0.18);
    --shadow-strong: 0 24px 60px -15px rgba(15, 23, 42, 0.18);

    --gradient-text: linear-gradient(135deg, #0f172a 0%, #475569 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.hidden {
    display: none !important;
}

::selection {
    background: rgba(255, 122, 24, 0.35);
    color: var(--text-primary);
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Header
   ========================================================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.5s var(--ease-out);
    padding: 0.5rem 0;
}

header.scrolled {
    background-color: rgba(6, 7, 13, 0.7);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
}

body.light-theme header.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 1rem;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    text-decoration: none;
    background: #ffffff;
    padding: 0.5rem 0.95rem;
    border-radius: 14px;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.logo-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -10px rgba(255, 122, 24, 0.5);
}

.logo-image {
    display: block;
    height: 52px;
    width: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .logo-image {
        height: 62px;
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.desktop-nav {
    display: none;
    gap: 0.25rem;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    padding: 0.35rem;
}

@media (min-width: 900px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-link {
    padding: 0.55rem 1.2rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease, background-color 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: inherit;
    border-radius: 999px;
    z-index: 1;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 122, 24, 0.1);
}

.theme-toggle {
    padding: 0.6rem;
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    color: var(--accent-orange);
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background-color: rgba(255, 122, 24, 0.15);
    border-color: rgba(255, 122, 24, 0.3);
    transform: rotate(15deg);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* Hamburger button — animated bars */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 0;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    z-index: 1001;
    position: relative;
}

.mobile-menu-btn:hover {
    border-color: rgba(255, 122, 24, 0.4);
    background-color: rgba(255, 122, 24, 0.08);
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.35s var(--ease-out), opacity 0.25s ease, width 0.3s ease;
}

.mobile-menu-btn span:nth-child(2) { width: 16px; }

.mobile-menu-btn[aria-expanded="true"] {
    color: var(--accent-orange);
    border-color: rgba(255, 122, 24, 0.5);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    width: 22px;
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 900px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile slide-in menu */
.mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 4, 10, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(85vw, 380px);
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-strong);
    z-index: 999;
    padding: 5.25rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transform: translateX(110%);
    transition: transform 0.5s var(--ease-out);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: -40px 0 80px -20px rgba(0, 0, 0, 0.6);
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.mobile-menu-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-tertiary);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1rem;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    font-size: 1.15rem;
    font-weight: 600;
    font-family: 'Space Grotesk', inherit;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

.mobile-nav-link span {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-tertiary);
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.mobile-nav-link::after {
    content: '→';
    margin-left: auto;
    color: var(--text-tertiary);
    transform: translateX(-6px);
    opacity: 0;
    transition: all 0.3s var(--ease-out);
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
    color: var(--accent-orange);
    padding-left: 1.4rem;
}

.mobile-nav-link:hover span,
.mobile-nav-link:hover::after {
    color: var(--accent-orange);
    opacity: 1;
    transform: translateX(0);
}

.mobile-cta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.05rem 1.25rem;
    background: var(--gradient-accent);
    color: white;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius);
    box-shadow: 0 12px 30px -10px rgba(255, 122, 24, 0.5);
    transition: transform 0.3s ease;
}

.mobile-cta:hover { transform: translateY(-2px); }

.mobile-cta svg {
    width: 18px;
    height: 18px;
}

.mobile-menu-foot {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.8rem;
    margin-top: 0.75rem;
    letter-spacing: 0.05em;
}

/* Body lock when menu open */
body.menu-open {
    overflow: hidden;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 7.5rem;
}

@media (min-width: 900px) {
    .hero {
        padding-top: 8rem;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 122, 24, 0.18), transparent 60%),
        radial-gradient(ellipse at 75% 80%, rgba(245, 158, 11, 0.15), transparent 55%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

body.light-theme .hero-bg {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 122, 24, 0.12), transparent 60%),
        radial-gradient(ellipse at 75% 80%, rgba(245, 158, 11, 0.1), transparent 55%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    pointer-events: none;
}

body.light-theme .hero-grid {
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
}

.hero-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.effect-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.orb-1 {
    top: 20%;
    left: 15%;
    width: 420px;
    height: 420px;
    background-color: rgba(255, 122, 24, 0.25);
    animation: float 8s ease-in-out infinite;
}

.orb-2 {
    bottom: 15%;
    right: 15%;
    width: 460px;
    height: 460px;
    background-color: rgba(245, 158, 11, 0.22);
    animation: float 10s ease-in-out infinite 1.5s;
}

@keyframes float {
    0%, 100% {
        opacity: 0.5;
        transform: translate(0, 0) scale(1);
    }
    50% {
        opacity: 0.85;
        transform: translate(30px, -30px) scale(1.1);
    }
}

.hero-layout {
    position: relative;
    padding: 4rem 0 4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 4rem;
        padding: 5rem 0 4rem;
    }
}

.hero-text {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-text { text-align: left; }
}

/* Hero CTA card */
.hero-card {
    position: relative;
    perspective: 1200px;
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 1024px) {
    .hero-card { margin: 0; }
}

.hero-card-glow {
    position: absolute;
    inset: -2px;
    background: var(--gradient-accent-strong);
    border-radius: calc(var(--radius-lg) + 2px);
    filter: blur(28px);
    opacity: 0.45;
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.4; transform: scale(0.98); }
    50% { opacity: 0.65; transform: scale(1.02); }
}

.hero-card-inner {
    position: relative;
    z-index: 1;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-strong);
    transform: rotate(-1.5deg);
    transition: transform 0.5s var(--ease-out);
}

.hero-card:hover .hero-card-inner {
    transform: rotate(0deg) translateY(-4px);
}

body.light-theme .hero-card-inner {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
}

.hero-card-logo {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 0.7rem 0.9rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.hero-card-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 112px;
    object-fit: contain;
}

.hero-card-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
    margin: 1rem 0 1.25rem;
    opacity: 0.5;
}

.hero-card-phone {
    display: block;
    text-decoration: none;
    color: var(--text-primary);
    padding: 1rem 1.15rem;
    background: rgba(255, 122, 24, 0.08);
    border: 1px solid rgba(255, 122, 24, 0.25);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.hero-card-phone:hover {
    background: rgba(255, 122, 24, 0.15);
    border-color: rgba(255, 122, 24, 0.55);
    transform: translateY(-2px);
}

.hero-card-phone-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.4rem;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: liveDot 2s infinite;
}

@keyframes liveDot {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-card-phone-number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--accent-orange);
}

.hero-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.hero-card-row-item {
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

body.light-theme .hero-card-row-item {
    background: rgba(15, 23, 42, 0.03);
}

.hero-card-row-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-tertiary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.hero-card-row-value {
    display: block;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* Title bolt accent */
.title-bolt {
    display: inline-block;
    width: clamp(28px, 6vw, 52px);
    height: clamp(28px, 6vw, 52px);
    color: var(--accent-orange);
    margin-left: 0.4rem;
    vertical-align: middle;
    filter: drop-shadow(0 0 16px rgba(255, 122, 24, 0.7));
    animation: boltShine 2.5s ease-in-out infinite;
}

@keyframes boltShine {
    0%, 100% { transform: rotate(0deg) scale(1); filter: drop-shadow(0 0 16px rgba(255, 122, 24, 0.6)); }
    50% { transform: rotate(8deg) scale(1.1); filter: drop-shadow(0 0 28px rgba(255, 122, 24, 1)); }
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.3s ease;
}

@media (min-width: 1024px) {
    .hero-scroll { display: flex; }
}

.hero-scroll:hover { color: var(--accent-orange); }

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--accent-orange));
    position: relative;
    overflow: hidden;
}

.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, white);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -40px; }
    100% { top: 100%; }
}

.hero-scroll-text {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.15rem;
    background: rgba(255, 122, 24, 0.1);
    border: 1px solid rgba(255, 122, 24, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 999px;
    color: #fb923c;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 1.75rem;
    text-transform: uppercase;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-orange);
    box-shadow: 0 0 12px var(--accent-orange);
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
    font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.4rem, 6.5vw, 5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.02;
    letter-spacing: -0.035em;
    display: flex;
    flex-direction: column;
}

.title-main {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-accent {
    background: var(--gradient-accent-strong);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-description {
    font-size: clamp(1.05rem, 1.7vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2.25rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

@media (min-width: 1024px) {
    .hero-description {
        margin-left: 0;
    }
}

.highlight {
    color: var(--accent-orange);
    font-weight: 600;
}

.sub-text {
    font-size: 1rem;
    opacity: 0.8;
    display: inline-block;
    margin-top: 0.5rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

@media (min-width: 480px) {
    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (min-width: 1024px) {
    .hero-actions {
        justify-content: flex-start;
    }
}

.btn-icon-right {
    margin-right: 0;
    margin-left: 0.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 999px;
    transition: all 0.4s var(--ease-out);
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn-icon {
    width: 18px;
    height: 18px;
    margin-right: 0.6rem;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 12px 30px -10px rgba(255, 122, 24, 0.6);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ff5722, #ff7a18);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px -10px rgba(255, 122, 24, 0.7);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-secondary {
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 122, 24, 0.5);
    background-color: rgba(255, 122, 24, 0.08);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 64rem;
    margin: 1rem auto 4rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

@media (min-width: 640px) {
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        padding: 2rem;
    }
}

.stat-item {
    text-align: center;
    padding: 0.5rem;
    transition: transform 0.4s var(--ease-out);
}

.stat-item:hover {
    transform: translateY(-4px);
}

.stat-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 0.75rem;
    color: var(--accent-orange);
    transition: transform 0.4s var(--ease-out);
}

.stat-item:hover .stat-icon {
    transform: scale(1.15) rotate(-6deg);
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ==========================================================================
   About
   ========================================================================== */

.about {
    position: relative;
    padding: 7rem 0;
    background-color: var(--bg-secondary);
}

.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 900px) {
    .about-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 4rem;
    }
}

.section-badge {
    display: inline-block;
    padding: 0.45rem 1.1rem;
    background-color: rgba(255, 122, 24, 0.1);
    border: 1px solid rgba(255, 122, 24, 0.3);
    border-radius: 999px;
    color: #fb923c;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.about-features {
    position: relative;
}

.feature-card {
    position: relative;
    padding: 2.25rem;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    opacity: 0.7;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    transition: background-color 0.3s ease;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item:hover {
    background: rgba(255, 122, 24, 0.05);
}

.feature-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gradient-accent);
    margin-top: 0.45rem;
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(255, 122, 24, 0.5);
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-dot {
    transform: scale(1.4);
}

.feature-title {
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
    font-size: 1.05rem;
}

.feature-item:hover .feature-title {
    color: var(--accent-orange);
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   Services
   ========================================================================== */

.services {
    position: relative;
    padding: 7rem 0;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.services-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orb-3 {
    top: 10%;
    right: -100px;
    width: 480px;
    height: 480px;
    background-color: rgba(255, 122, 24, 0.12);
    filter: blur(100px);
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    position: relative;
    padding: 2.25rem 1.75rem;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all 0.5s var(--ease-out);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 122, 24, 0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 122, 24, 0.4);
    box-shadow: 0 25px 50px -15px rgba(255, 122, 24, 0.25);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    transition: all 0.4s var(--ease-out);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.3);
}

.service-card:hover .service-icon {
    transform: rotate(-8deg) scale(1.08);
    box-shadow: 0 18px 30px -8px rgba(255, 122, 24, 0.5);
}

.service-icon svg {
    width: 30px;
    height: 30px;
    color: white;
    position: relative;
    z-index: 1;
}

.gradient-1 { background: linear-gradient(135deg, #ff7a18, #dc2626); }
.gradient-2 { background: linear-gradient(135deg, #f59e0b, #ff7a18); }
.gradient-3 { background: linear-gradient(135deg, #facc15, #f59e0b); }
.gradient-4 { background: linear-gradient(135deg, #ea580c, #d97706); }

.service-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
}

.service-card:hover .service-title {
    color: var(--accent-orange);
}

.service-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.service-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.service-card:hover .service-line {
    transform: scaleX(1);
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery {
    position: relative;
    padding: 7rem 0;
    background-color: var(--bg-secondary);
}

.gallery-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: var(--shadow-card);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 50px -15px rgba(0, 0, 0, 0.5);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.gallery-item:hover img {
    transform: scale(1.12);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 7, 13, 0.95) 0%, rgba(6, 7, 13, 0.5) 40%, transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0.85;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
    transform: translateY(0.5rem);
    transition: transform 0.4s var(--ease-out);
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-icon {
    width: 18px;
    height: 18px;
}

.gallery-info span {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.gallery-text {
    color: #d1d5db;
    font-size: 0.875rem;
    opacity: 0;
    transform: translateY(0.5rem);
    transition: all 0.4s var(--ease-out) 0.05s;
}

.gallery-item:hover .gallery-text {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
    position: relative;
    padding: 7rem 0;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.contact-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orb-4 {
    bottom: -80px;
    left: -80px;
    width: 460px;
    height: 460px;
    background-color: rgba(255, 122, 24, 0.18);
    filter: blur(100px);
}

.orb-5 {
    top: -80px;
    right: -80px;
    width: 460px;
    height: 460px;
    background-color: rgba(245, 158, 11, 0.18);
    filter: blur(100px);
}

.contact-grid {
    display: grid;
    gap: 1.75rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1.1fr;
    }
}

.contact-info,
.contact-form-wrapper {
    padding: 2.25rem;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.contact-info::before,
.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    opacity: 0.6;
}

.contact-company {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.contact-owner {
    font-size: 1.1rem;
    color: var(--accent-orange);
    margin-bottom: 2rem;
    font-weight: 500;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.15rem;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

body.light-theme .contact-item {
    background-color: rgba(15, 23, 42, 0.02);
}

.contact-item:hover {
    border-color: rgba(255, 122, 24, 0.4);
    background-color: rgba(255, 122, 24, 0.04);
    transform: translateX(4px);
}

.contact-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 16px -6px rgba(255, 122, 24, 0.5);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

.contact-label {
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-value {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

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

.form-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.form-subtitle {
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-size: 1rem;
    font-family: inherit;
}

body.light-theme .form-input,
body.light-theme .form-textarea {
    background-color: rgba(15, 23, 42, 0.02);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-tertiary);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    background-color: rgba(255, 122, 24, 0.04);
    box-shadow: 0 0 0 4px rgba(255, 122, 24, 0.12);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 1.05rem 1.5rem;
    background: var(--gradient-accent);
    color: white;
    font-weight: 700;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    box-shadow: 0 12px 30px -10px rgba(255, 122, 24, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 1rem;
    font-family: inherit;
    margin-top: 0.5rem;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px -10px rgba(255, 122, 24, 0.7);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-submit .btn-icon {
    width: 18px;
    height: 18px;
    margin: 0;
}

.form-message {
    padding: 1rem 1.15rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-message.success {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.form-message.error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    padding: 3rem 0;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    color: var(--text-tertiary);
}

body.light-theme .footer {
    background-color: var(--bg-secondary);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-logo {
    background: #ffffff;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius);
    box-shadow: 0 6px 20px -8px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.footer-logo-image {
    display: block;
    height: 62px;
    width: auto;
}

.footer-info {
    text-align: center;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .footer-info {
        text-align: right;
    }
}

.footer-tagline {
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* ==========================================================================
   Lightbox
   ========================================================================== */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

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

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    padding: 0.6rem;
    background-color: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .lightbox-close {
        top: 2rem;
        right: 2rem;
    }
}

.lightbox-close:hover {
    background-color: var(--accent-orange);
    transform: rotate(90deg);
}

.lightbox-close svg {
    width: 28px;
    height: 28px;
}

.lightbox-nav {
    position: absolute;
    z-index: 10;
    padding: 0.7rem;
    background-color: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background-color: var(--accent-orange);
    transform: scale(1.1);
}

.lightbox-nav svg {
    width: 28px;
    height: 28px;
}

@media (min-width: 768px) {
    .lightbox-nav svg {
        width: 36px;
        height: 36px;
    }
}

.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }

@media (min-width: 768px) {
    .lightbox-prev { left: 2rem; }
    .lightbox-next { right: 2rem; }
}

.lightbox-content {
    position: relative;
    max-width: 80rem;
    max-height: 90vh;
    padding: 1rem;
    animation: zoomIn 0.4s var(--ease-out);
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
}

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1.15rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-counter span {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Marquee
   ========================================================================== */

.marquee {
    position: relative;
    overflow: hidden;
    background: var(--gradient-accent);
    color: #0f0f1a;
    padding: 0.55rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.18);
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    z-index: 50;
    box-shadow: 0 6px 20px -8px rgba(255, 122, 24, 0.5);
}

.marquee-track {
    display: flex;
    gap: 2rem;
    align-items: center;
    width: max-content;
    animation: marqueeRoll 30s linear infinite;
    white-space: nowrap;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee span {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(0.8rem, 1.6vw, 0.95rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.marquee i {
    width: 6px;
    height: 6px;
    background: #0f0f1a;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
}

@keyframes marqueeRoll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ==========================================================================
   Floating call button (mobile)
   ========================================================================== */

.floating-call {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 900;
    display: none;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 18px 40px -10px rgba(255, 122, 24, 0.7);
    transition: transform 0.3s ease;
}

@media (max-width: 899px) {
    .floating-call {
        display: flex;
    }
}

.floating-call svg {
    width: 26px;
    height: 26px;
    z-index: 2;
    position: relative;
}

.floating-call:active {
    transform: scale(0.95);
}

.floating-call-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--accent-orange);
    opacity: 0.6;
    animation: callPulse 2s ease-out infinite;
}

@keyframes callPulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.7); opacity: 0; }
}

/* ==========================================================================
   Cursor spotlight (service cards)
   ========================================================================== */

.service-card {
    --mx: 50%;
    --my: 50%;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: radial-gradient(280px circle at var(--mx) var(--my), rgba(255, 122, 24, 0.18), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

/* ==========================================================================
   Mobile spacing tweaks
   ========================================================================== */

@media (max-width: 640px) {
    .about,
    .services,
    .gallery,
    .contact {
        padding: 4.5rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .contact-info,
    .contact-form-wrapper,
    .feature-card {
        padding: 1.5rem;
    }

    .hero-card-inner {
        padding: 1.25rem;
        transform: rotate(0deg);
    }

    .hero {
        padding-top: 4.5rem;
    }

    .hero-layout {
        padding: 1.5rem 0 2rem;
    }
}

/* Prevent iOS overscroll glitches */
@supports (-webkit-touch-callout: none) {
    .mobile-menu {
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
    }
    .floating-call {
        bottom: max(1.25rem, env(safe-area-inset-bottom));
    }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}
