/* =============================================
   Smin GmbH – Stylesheet
   ============================================= */

:root {
    --bg: #0a0e1a;
    --bg-card: #131826;
    --bg-elevated: #1a2030;
    --primary: #d4a85a;
    --primary-light: #e8c47b;
    --primary-dim: rgba(212, 168, 90, 0.12);
    --text: #ffffff;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.15);
    --gradient: linear-gradient(135deg, #d4a85a 0%, #e8c47b 100%);
    --gradient-dark: linear-gradient(135deg, #131826 0%, #1a2030 100%);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --font-display: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--primary); color: var(--bg); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

/* ===== Custom Cursor (desktop only) ===== */
.cursor, .cursor-dot {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
}
.cursor {
    width: 24px;
    height: 24px;
    border: 1.5px solid var(--primary);
    border-radius: 50%;
    transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease;
}
.cursor-dot {
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
}
.cursor.hover { width: 50px; height: 50px; }
@media (hover: none), (max-width: 1024px) {
    .cursor, .cursor-dot { display: none; }
    body { cursor: auto; }
}

/* ===== Header ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s var(--ease);
    background: transparent;
}

header.scrolled {
    background: rgba(10, 14, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.85rem 5%;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.02em;
    z-index: 1002;
}
.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--gradient);
    color: var(--bg);
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.1rem;
}
.logo-text-light { color: var(--primary); }

nav.main-nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}
nav.main-nav a {
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.4rem 0;
}
nav.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--primary);
    transition: width 0.3s var(--ease);
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--text); }
nav.main-nav a:hover::after, nav.main-nav a.active::after { width: 100%; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: transparent;
    border: none;
    z-index: 1002;
}
.menu-toggle span {
    width: 26px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s var(--ease);
    transform-origin: center;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 1.75rem;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    cursor: pointer;
    border: none;
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
    line-height: 1;
}
.btn-primary {
    background: var(--gradient);
    color: var(--bg);
    box-shadow: 0 4px 20px rgba(212, 168, 90, 0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 90, 0.4);
}
.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border-strong);
}
.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-arrow::after {
    content: '→';
    transition: transform 0.3s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 4rem;
    position: relative;
    overflow: hidden;
}
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212, 168, 90, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 168, 90, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
    pointer-events: none;
}
.hero-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(212, 168, 90, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}
.hero-glow-2 {
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 168, 90, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.1rem;
    background: var(--primary-dim);
    border: 1px solid rgba(212, 168, 90, 0.25);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
}
.hero-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.75rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}
.hero h1 .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hero-description {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}
.hero-stat-num {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    line-height: 1;
    margin-bottom: 0.4rem;
}
.hero-stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

/* ===== Page Header (für innere Seiten) ===== */
.page-header {
    padding: 12rem 5% 5rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.page-header::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 50%; height: 100%;
    background: radial-gradient(ellipse at top right, rgba(212, 168, 90, 0.1) 0%, transparent 60%);
    pointer-events: none;
}
.page-header-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.breadcrumb a { color: var(--text-muted); transition: color 0.3s ease; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span:last-child { color: var(--primary); }
.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
.page-header > .page-header-content > p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
}

/* ===== Section base ===== */
section { padding: 6rem 5%; position: relative; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 1rem;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

/* ===== Services Grid (Kernkompetenzen) ===== */
.services-section { background: var(--bg-card); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.service-card {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2.25rem;
    transition: all 0.4s var(--ease-out);
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 168, 90, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-dim);
    border: 1px solid rgba(212, 168, 90, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s var(--ease);
}
.service-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--primary);
    stroke-width: 1.75;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.service-card:hover .service-icon {
    background: var(--gradient);
    border-color: transparent;
}
.service-card:hover .service-icon svg { stroke: var(--bg); }
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}
.service-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ===== About Block (zwei Spalten mit Inhalt + Visual) ===== */
.about-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.about-content .section-tag { display: inline-block; }
.about-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}
.about-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 1rem;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
}
.about-feature-icon {
    width: 26px; height: 26px;
    background: var(--gradient);
    color: var(--bg);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.about-feature span {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

/* SVG Visual statt Bild */
.about-visual {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--gradient-dark);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.about-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(212, 168, 90, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(212, 168, 90, 0.1) 0%, transparent 50%);
}
.about-visual svg {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

/* ===== Service Detail Section (für leistungen.html) ===== */
.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}
.services-intro p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.service-detail {
    padding: 5rem 5%;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 100px;
}
.service-detail:nth-child(odd) { background: var(--bg-card); }
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.service-detail:nth-child(even) .service-detail-grid > .service-detail-visual { order: -1; }
.service-detail-content .service-number {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}
.service-detail-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.service-detail-content > p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.service-features-list {
    list-style: none;
    margin: 1.5rem 0;
}
.service-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.service-features-list li::before {
    content: '';
    flex-shrink: 0;
    width: 18px; height: 18px;
    background: var(--primary-dim);
    border: 1px solid rgba(212, 168, 90, 0.4);
    border-radius: 50%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4a85a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 3px;
}

.service-detail-visual {
    aspect-ratio: 4/3;
    border-radius: 18px;
    background: var(--gradient-dark);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}
.service-detail-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212, 168, 90, 0.1) 0%, transparent 60%);
}
.service-detail-visual svg {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

/* ===== Values / Approach ===== */
.values-section { background: var(--bg); }
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.value-card {
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s var(--ease);
}
.value-card:hover {
    border-color: rgba(212, 168, 90, 0.3);
    transform: translateY(-3px);
}
.value-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.25rem;
    background: var(--primary-dim);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.value-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    stroke-width: 1.75;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.value-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.value-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== Approach (numerierte Schritte) ===== */
.approach-section { background: var(--bg-card); }
.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}
.approach-card {
    padding: 2.25rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.4s var(--ease);
}
.approach-card:hover {
    border-color: rgba(212, 168, 90, 0.3);
    transform: translateY(-3px);
}
.approach-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    line-height: 1;
    margin-bottom: 1rem;
}
.approach-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}
.approach-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ===== CTA Banner ===== */
.cta-banner {
    text-align: center;
    padding: 5rem 5%;
    background:
        linear-gradient(135deg, rgba(212, 168, 90, 0.04) 0%, transparent 100%),
        var(--bg-elevated);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 168, 90, 0.1) 0%, transparent 60%);
    pointer-events: none;
}
.cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    position: relative;
}
.cta-banner p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto 2rem;
    line-height: 1.75;
    position: relative;
}

/* ===== Contact Section ===== */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}
.contact-info h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}
.contact-info > p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.3s var(--ease);
}
.contact-item:hover { border-color: rgba(212, 168, 90, 0.3); }
.contact-item-icon {
    width: 42px;
    height: 42px;
    background: var(--primary-dim);
    border: 1px solid rgba(212, 168, 90, 0.25);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-item-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    stroke-width: 1.75;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.contact-item-text h4 {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.25rem;
}
.contact-item-text p {
    font-size: 0.95rem;
    color: var(--text);
    margin: 0;
    font-weight: 500;
    line-height: 1.5;
}
.contact-item-text a { color: inherit; }
.contact-item-text a:hover { color: var(--primary); }

/* Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2.25rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.1rem;
}
.form-group { margin-bottom: 1.1rem; }
.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-dim);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}
.form-group textarea {
    min-height: 130px;
    resize: vertical;
    font-family: inherit;
}
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}
.form-group select option {
    background: var(--bg);
    color: var(--text);
}
.form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--gradient);
    color: var(--bg);
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    letter-spacing: 0.3px;
}
.form-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 168, 90, 0.35);
}
.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.form-note {
    font-size: 0.78rem;
    color: var(--text-dim);
    text-align: center;
    margin-top: 0.85rem;
    line-height: 1.5;
}
.form-note a { color: var(--primary); }
.form-note a:hover { text-decoration: underline; }

.form-message {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    display: none;
    line-height: 1.5;
}
.form-message.show { display: block; }
.form-message.success {
    background: rgba(40, 180, 120, 0.1);
    border: 1px solid rgba(40, 180, 120, 0.3);
    color: #4ade80;
}
.form-message.error {
    background: rgba(220, 60, 60, 0.1);
    border: 1px solid rgba(220, 60, 60, 0.3);
    color: #f87171;
}

/* ===== Map ===== */
.map-section {
    height: 460px;
    width: 100%;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: invert(0.92) hue-rotate(180deg) saturate(0.7) brightness(1.05);
}

/* ===== Footer ===== */
footer {
    background: var(--bg);
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}
.footer-about p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.75;
    margin: 1rem 0;
    max-width: 380px;
}
.footer-section h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 1.25rem;
}
.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.footer-section a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
    line-height: 1.5;
}
.footer-section a:hover { color: var(--primary); }
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.85rem;
}
.footer-legal {
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* ===== Legal Pages ===== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 5%;
}
.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    margin: 2.5rem 0 1rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
    letter-spacing: -0.01em;
}
.legal-content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.legal-content h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin: 1.5rem 0 0.75rem;
    letter-spacing: -0.01em;
}
.legal-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 0.85rem;
}
.legal-content ul {
    margin: 0.85rem 0 0.85rem 1.5rem;
    color: var(--text-muted);
}
.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}
.legal-content a { color: var(--primary); }
.legal-content a:hover { text-decoration: underline; }
.legal-content strong { color: var(--text); }
.info-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}
.info-box p {
    margin-bottom: 0.4rem;
    color: var(--text);
}
.info-box p:last-child { margin-bottom: 0; }
.placeholder {
    color: var(--text-muted);
    font-style: italic;
    background: rgba(212, 168, 90, 0.08);
    padding: 0.1em 0.5em;
    border-radius: 3px;
    border: 1px dashed rgba(212, 168, 90, 0.3);
    font-size: 0.9em;
}
.legal-list {
    margin: 0.85rem 0 0.85rem 1.5rem !important;
}
.legal-list li {
    margin-bottom: 0.7rem;
}

/* ===== 404 Page ===== */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 5% 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.error-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(212, 168, 90, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(212, 168, 90, 0.06) 0%, transparent 50%);
    pointer-events: none;
}
.error-content {
    max-width: 500px;
    position: relative;
}
.error-code {
    font-family: var(--font-display);
    font-size: clamp(6rem, 18vw, 10rem);
    font-weight: 800;
    line-height: 1;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
}
.error-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.error-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}
.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Reveal Animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .approach-grid { grid-template-columns: 1fr; }
    .about-block,
    .service-detail-grid,
    .contact-section { grid-template-columns: 1fr; gap: 3rem; }
    .service-detail:nth-child(even) .service-detail-grid > .service-detail-visual { order: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; }
    .page-header { padding: 9rem 5% 4rem; }
    section { padding: 4.5rem 5%; }
}

@media (max-width: 768px) {
    header { padding: 1rem 5%; }
    header.scrolled { padding: 0.7rem 5%; }
    .menu-toggle { display: flex; }

    nav.main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 5rem 2.5rem 2rem;
        gap: 1.75rem;
        border-left: 1px solid var(--border);
        transition: right 0.4s var(--ease);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
        z-index: 1001;
    }
    nav.main-nav.active { right: 0; }
    nav.main-nav a { font-size: 1.2rem; padding: 0.5rem 0; }

    body.menu-open { overflow: hidden; }
    body.menu-open::after {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 999;
        backdrop-filter: blur(4px);
    }

    .hero { padding: 7rem 5% 3.5rem; min-height: auto; }
    .hero-cta { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
    .hero-cta .btn { justify-content: center; }
    .services-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .error-actions { flex-direction: column; align-items: stretch; max-width: 280px; margin: 0 auto; }
    .error-actions .btn { justify-content: center; }
    .map-section { height: 350px; }
}

@media (max-width: 480px) {
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .service-card, .approach-card { padding: 1.75rem; }
    .contact-form { padding: 1.5rem; }
}

/* ===== Print ===== */
@media print {
    header, footer, .map-section, .menu-toggle, .cursor, .cursor-dot, .hero-cta, .cta-banner { display: none; }
    body { background: white; color: black; }
}
