/* ==========================================
   KoromKraft Szalon - Lo-fi Sketch Design
   ========================================== */

/* --- CSS Variables --- */
:root {
    --color-primary: #333333;
    --color-secondary: #fffef5;
    --color-accent: #4a90d9;
    --color-accent-light: rgba(74, 144, 217, 0.1);
    --color-accent-medium: rgba(74, 144, 217, 0.2);
    --color-bg: #fffef5;
    --color-bg-alt: #f9f8f0;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-border: #cccccc;
    --color-border-light: #e0e0d8;
    --color-error: #d94a4a;
    --color-success: #4a90d9;

    --font-hand: 'Caveat', cursive;
    --font-body: 'Patrick Hand', cursive;
    --font-display: 'Architects Daughter', cursive;

    --shadow-sketch: 3px 3px 0px rgba(51, 51, 51, 0.08);
    --shadow-sketch-hover: 5px 5px 0px rgba(74, 144, 217, 0.12);

    --transition-base: 0.3s ease;
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

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

/* Notebook paper background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
    background-image:
        repeating-linear-gradient(
            transparent,
            transparent 31px,
            rgba(74, 144, 217, 0.06) 31px,
            rgba(74, 144, 217, 0.06) 32px
        );
    background-size: 100% 32px;
}

/* Red margin line like notebook */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 60px;
    bottom: 0;
    width: 1px;
    background: rgba(217, 74, 74, 0.1);
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 768px) {
    body::after {
        left: 20px;
    }
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-primary);
}

a:focus-visible {
    outline: 2px dashed var(--color-accent);
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: var(--font-body);
    border: none;
    background: none;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px dashed var(--color-accent);
    outline-offset: 2px;
}

/* --- Utility --- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .section-container {
        padding: 0 16px;
    }
}

/* --- Navigation --- */
.nav-sketchy {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 254, 245, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 2px dashed var(--color-border-light);
    transition: all var(--transition-base);
}

.nav-sketchy.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
    font-family: var(--font-hand);
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform var(--transition-bounce);
}

.nav-logo:hover {
    transform: rotate(-2deg) scale(1.02);
    color: var(--color-primary);
}

.logo-doodle {
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-light);
    padding: 8px 14px;
    border-radius: 4px;
    transition: all var(--transition-base);
    position: relative;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform var(--transition-base);
    transform-origin: left;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 4px;
        border-left: 2px dashed var(--color-border);
        transition: right var(--transition-base);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 12px 0;
        width: 100%;
    }
}

/* --- Buttons --- */
.btn-sketch {
    font-family: var(--font-body);
    font-size: 1.05rem;
    padding: 12px 28px;
    border: 2px dashed var(--color-primary);
    border-radius: 4px;
    background: transparent;
    color: var(--color-primary);
    position: relative;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-sketch:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0px rgba(74, 144, 217, 0.2);
}

.btn-sketch:active {
    transform: translate(0, 0);
    box-shadow: none;
}

.btn-primary-sketch {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

.btn-primary-sketch:hover {
    background: #3a7bc8;
    border-color: #3a7bc8;
    color: #fff;
}

.btn-secondary-sketch {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary-sketch:hover {
    background: var(--color-primary);
    color: var(--color-secondary);
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 24px 60px;
    position: relative;
    overflow: hidden;
}

.notebook-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.04;
    background-image:
        linear-gradient(90deg, var(--color-accent) 1px, transparent 1px);
    background-size: 60px 100%;
}

.doodle-corner {
    position: absolute;
    pointer-events: none;
    opacity: 0.6;
}

.doodle-top-right {
    top: 100px;
    right: 40px;
}

.doodle-bottom-left {
    bottom: 80px;
    left: 20px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-text {
    animation: fadeSlideUp 0.8s ease forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-accent);
    padding: 6px 16px;
    border: 1.5px dashed var(--color-accent);
    border-radius: 20px;
    margin-bottom: 24px;
    animation: fadeSlideUp 0.8s ease 0.1s both;
}

.hero-title {
    font-family: var(--font-hand);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.15;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.title-accent {
    color: var(--color-accent);
    position: relative;
}

.title-accent::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--color-accent-medium);
    border-radius: 4px;
    z-index: -1;
    transform: rotate(-1deg);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--color-text-light);
    max-width: 480px;
    margin-bottom: 32px;
    line-height: 1.8;
    animation: fadeSlideUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeSlideUp 0.8s ease 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    animation: fadeSlideUp 0.8s ease 0.4s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-hand);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-accent);
    display: inline;
}

.stat-plus {
    font-family: var(--font-hand);
    font-size: 1.8rem;
    color: var(--color-accent);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 2px;
}

.stat-divider {
    opacity: 0.4;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    animation: fadeSlideRight 0.8s ease 0.3s both;
}

.hero-image-frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 6px;
    filter: saturate(0.9);
    transition: filter var(--transition-base);
}

.hero-image-frame:hover .hero-img {
    filter: saturate(1.05);
}

.frame-doodle {
    position: absolute;
    top: -8px;
    left: -8px;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
    pointer-events: none;
}

.hero-image-label {
    position: absolute;
    bottom: -16px;
    right: 20px;
    background: var(--color-bg);
    border: 2px dashed var(--color-accent);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.85rem;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-sketch);
    animation: floatBubble 3s ease-in-out infinite;
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: 0.4;
    animation: bounceDown 2s ease-in-out infinite;
}

.scroll-hint span {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-tag {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-hand);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-primary);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: -10px;
    right: -10px;
    height: 10px;
    background: var(--color-accent-light);
    border-radius: 5px;
    z-index: -1;
    transform: rotate(-0.5deg);
}

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

.section-doodle-left,
.section-doodle-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.section-doodle-left {
    left: 0;
}

.section-doodle-right {
    right: 0;
}

@media (max-width: 900px) {
    .section-doodle-left,
    .section-doodle-right {
        display: none;
    }
}

/* --- Services Section --- */
.services-section {
    padding: 100px 0;
    background: var(--color-bg-alt);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        var(--color-border-light) 0px,
        var(--color-border-light) 8px,
        transparent 8px,
        transparent 14px
    );
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

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

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--color-bg);
    padding: 32px 28px;
    position: relative;
    transition: all var(--transition-base);
    cursor: default;
}

.service-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0px var(--color-accent-medium);
}

.card-sketch-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.card-sketch-border svg {
    width: 100%;
    height: 100%;
}

.service-icon {
    margin-bottom: 20px;
    transition: transform var(--transition-bounce);
}

.service-card:hover .service-icon {
    transform: rotate(-5deg) scale(1.1);
}

.service-name {
    font-family: var(--font-hand);
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.service-features {
    margin-bottom: 20px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-text);
    padding: 4px 0;
}

.service-features li svg {
    flex-shrink: 0;
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 20px;
    padding-top: 16px;
    border-top: 1px dashed var(--color-border-light);
}

.price-from {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.price-amount {
    font-family: var(--font-hand);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

.btn-service-detail {
    font-size: 0.9rem;
    padding: 8px 20px;
    border: 1.5px dashed var(--color-accent);
    color: var(--color-accent);
    border-radius: 3px;
    transition: all var(--transition-base);
}

.btn-service-detail:hover {
    background: var(--color-accent);
    color: #fff;
    transform: translate(-1px, -1px);
    box-shadow: 2px 2px 0px rgba(74, 144, 217, 0.2);
}

/* --- About Section --- */
.about-section {
    padding: 100px 0;
    position: relative;
}

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

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-images {
    position: relative;
    min-height: 500px;
}

.about-img-main {
    position: relative;
    width: 80%;
}

.about-img-main img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 6px;
    filter: saturate(0.85);
}

.about-frame {
    position: absolute;
    top: -6px;
    left: -6px;
    width: calc(100% + 12px);
    height: calc(100% + 12px);
    pointer-events: none;
}

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
}

.about-img-secondary img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
    filter: saturate(0.85);
    box-shadow: var(--shadow-sketch);
}

.about-frame-small {
    position: absolute;
    top: -5px;
    left: -5px;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    pointer-events: none;
}

.about-doodle-star {
    position: absolute;
    top: 40%;
    left: 55%;
    animation: spinSlow 8s linear infinite;
    opacity: 0.4;
}

.about-content .section-tag {
    text-align: left;
}

.about-content .section-title {
    display: block;
    text-align: left;
}

.about-content .section-title::after {
    left: 0;
    right: auto;
    width: 120px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-trust {
    margin-top: 32px;
    padding: 24px;
    border: 2px dashed var(--color-border-light);
    border-radius: 6px;
    background: var(--color-bg-alt);
}

.trust-title {
    font-family: var(--font-hand);
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.trust-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--color-text);
}

.trust-item svg {
    flex-shrink: 0;
}

/* --- Gallery Strip --- */
.gallery-strip {
    padding: 40px 0;
    overflow: hidden;
    background: var(--color-bg-alt);
    border-top: 2px dashed var(--color-border-light);
    border-bottom: 2px dashed var(--color-border-light);
}

.gallery-inner {
    display: flex;
    gap: 20px;
    animation: scrollGallery 30s linear infinite;
    width: max-content;
}

.gallery-item {
    flex-shrink: 0;
    width: 280px;
    height: 200px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 2px dashed var(--color-border);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.8) contrast(0.95);
    transition: all var(--transition-base);
}

.gallery-item:hover img {
    filter: saturate(1) contrast(1);
    transform: scale(1.05);
}

/* --- Team Section --- */
.team-section {
    padding: 100px 0;
    position: relative;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

@media (max-width: 1100px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.team-card {
    text-align: center;
    padding: 28px 16px;
    position: relative;
    transition: all var(--transition-base);
}

.team-card:hover {
    transform: translateY(-4px);
}

.team-sketch-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.team-sketch-frame svg {
    width: 100%;
    height: 100%;
}

.team-card:hover .team-sketch-frame {
    opacity: 1;
}

.team-avatar {
    margin: 0 auto 16px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px dashed var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transition-base);
}

.team-card:hover .team-avatar {
    border-color: var(--color-accent);
}

.team-name {
    font-family: var(--font-hand);
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.8rem;
    color: var(--color-accent);
    display: block;
    margin-bottom: 10px;
}

.team-bio {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 100px 0;
    background: var(--color-bg-alt);
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        var(--color-border-light) 0px,
        var(--color-border-light) 8px,
        transparent 8px,
        transparent 14px
    );
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: var(--color-bg);
    padding: 32px;
    position: relative;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0px var(--color-accent-medium);
}

.testimonial-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.testimonial-quote-mark {
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-author {
    border-top: 1px dashed var(--color-border-light);
    padding-top: 12px;
}

.author-name {
    font-family: var(--font-hand);
    font-size: 1.2rem;
    color: var(--color-primary);
    display: block;
}

.author-detail {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* --- Stories Section --- */
.stories-section {
    padding: 100px 0;
    position: relative;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 900px) {
    .stories-grid {
        grid-template-columns: 1fr;
    }
}

.story-card {
    padding: 32px 24px;
    position: relative;
    border: 2px dashed var(--color-border-light);
    border-radius: 6px;
    transition: all var(--transition-base);
    background: var(--color-bg);
}

.story-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sketch-hover);
}

.story-number {
    font-family: var(--font-hand);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    opacity: 0.2;
    position: absolute;
    top: 16px;
    right: 24px;
}

.story-sketch-line {
    margin-bottom: 20px;
}

.story-title {
    font-family: var(--font-hand);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.story-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

.story-result {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 20px;
    padding: 12px;
    background: var(--color-accent-light);
    border-radius: 4px;
    border-left: 3px solid var(--color-accent);
}

.story-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.story-tag {
    font-size: 0.75rem;
    padding: 4px 12px;
    border: 1px dashed var(--color-accent);
    border-radius: 12px;
    color: var(--color-accent);
}

/* --- Contact Section --- */
.contact-section {
    padding: 100px 0;
    background: var(--color-bg-alt);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        var(--color-border-light) 0px,
        var(--color-border-light) 8px,
        transparent 8px,
        transparent 14px
    );
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: none;
    border-radius: 4px;
    outline: none;
    position: relative;
    z-index: 1;
    transition: box-shadow var(--transition-base);
}

.form-group input:focus {
    box-shadow: 0 0 0 2px var(--color-accent-medium);
}

.form-group input::placeholder {
    color: var(--color-border);
}

.input-sketch {
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100% - 28px);
    pointer-events: none;
}

.form-error {
    display: block;
    font-size: 0.8rem;
    color: var(--color-error);
    margin-top: 4px;
    min-height: 1.2em;
}

.form-consent {
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--color-text-light);
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px dashed var(--color-border);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    transition: all var(--transition-base);
}

.checkbox-custom .check-mark {
    opacity: 0;
    transition: opacity var(--transition-base);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    border-color: var(--color-accent);
    background: var(--color-accent-light);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom .check-mark {
    opacity: 1;
}

.btn-submit {
    align-self: flex-start;
    min-width: 200px;
    justify-content: center;
}

.form-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 4px;
    font-size: 0.95rem;
}

.form-success {
    background: var(--color-accent-light);
    color: var(--color-accent);
    border: 1px dashed var(--color-accent);
}

.form-error-msg {
    background: rgba(217, 74, 74, 0.08);
    color: var(--color-error);
    border: 1px dashed var(--color-error);
}

/* Contact Info */
.contact-info-card {
    position: relative;
    padding: 32px;
    background: var(--color-bg);
}

.contact-info-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    align-items: flex-start;
}

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

.info-item svg {
    flex-shrink: 0;
    margin-top: 4px;
}

.info-item strong {
    display: block;
    font-family: var(--font-hand);
    font-size: 1.15rem;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.info-item p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 2px;
}

.info-item a {
    color: var(--color-accent);
}

.small-note {
    font-size: 0.8rem !important;
    opacity: 0.8;
}

/* --- Footer --- */
.footer-section {
    padding: 60px 0 32px;
    background: var(--color-primary);
    color: var(--color-secondary);
    position: relative;
}

.footer-top-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-secondary);
    font-family: var(--font-hand);
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 12px;
}

.footer-logo:hover {
    color: var(--color-accent);
}

.footer-desc {
    font-size: 0.95rem;
    color: rgba(255, 254, 245, 0.7);
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-address {
    font-size: 0.85rem;
    color: rgba(255, 254, 245, 0.5);
}

.footer-links-col h4 {
    font-family: var(--font-hand);
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-bottom: 16px;
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links-col a {
    font-size: 0.9rem;
    color: rgba(255, 254, 245, 0.7);
    transition: color var(--transition-base);
}

.footer-links-col a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px dashed rgba(255, 254, 245, 0.15);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 254, 245, 0.4);
}

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(51, 51, 51, 0.6);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.modal-overlay.visible {
    opacity: 1;
}

.modal-content {
    background: var(--color-bg);
    max-width: 560px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform var(--transition-bounce);
}

.modal-overlay.visible .modal-content {
    transform: translateY(0) scale(1);
}

.modal-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px;
    z-index: 10;
    border-radius: 50%;
    border: 1.5px dashed var(--color-border);
    transition: all var(--transition-base);
}

.modal-close:hover {
    border-color: var(--color-error);
    background: rgba(217, 74, 74, 0.08);
}

.modal-body h2 {
    font-family: var(--font-hand);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.modal-body p {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

.modal-body ul {
    margin-bottom: 16px;
}

.modal-body li {
    font-size: 0.95rem;
    color: var(--color-text);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.modal-body li::before {
    content: '~';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.modal-body .modal-price {
    font-family: var(--font-hand);
    font-size: 1.8rem;
    color: var(--color-accent);
    margin: 16px 0;
}

.modal-body .modal-cta {
    margin-top: 20px;
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    background: var(--color-bg);
    border-top: 2px dashed var(--color-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 24px;
    animation: slideUp 0.5s ease;
}

.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.cookie-text a {
    color: var(--color-accent);
}

.cookie-icon {
    flex-shrink: 0;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-accept {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    font-size: 0.9rem;
    padding: 10px 20px;
}

.btn-reject {
    font-size: 0.9rem;
    padding: 10px 20px;
}

.btn-settings {
    font-size: 0.9rem;
    padding: 10px 20px;
    border-style: dotted;
}

.cookie-settings-panel {
    max-width: 1200px;
    margin: 16px auto 0;
    padding: 20px;
    border: 1px dashed var(--color-border-light);
    border-radius: 4px;
    background: var(--color-bg-alt);
}

.cookie-settings-panel h3 {
    font-family: var(--font-hand);
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.cookie-option {
    margin-bottom: 12px;
}

.cookie-option label {
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-option p {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-left: 24px;
    margin-top: 2px;
}

@media (max-width: 640px) {
    .cookie-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-buttons .btn-sketch {
        flex: 1;
        justify-content: center;
    }
}

/* --- Animations --- */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceDown {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

@keyframes floatBubble {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes scrollGallery {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Scroll reveal animation class */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    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; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image-wrapper {
        order: -1;
    }

    .hero-img {
        height: 300px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        flex: 1;
        min-width: 80px;
    }

    .scroll-hint {
        display: none;
    }

    .doodle-top-right,
    .doodle-bottom-left {
        display: none;
    }

    .about-images {
        min-height: 300px;
    }

    .about-img-main img {
        height: 260px;
    }

    .about-img-secondary img {
        height: 160px;
    }
}

/* --- Print --- */
@media print {
    .nav-sketchy,
    .cookie-banner,
    .modal-overlay,
    .scroll-hint {
        display: none !important;
    }

    body::before,
    body::after {
        display: none;
    }
}

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

    html {
        scroll-behavior: auto;
    }

    .gallery-inner {
        animation: none;
    }
}
