/* ========================================
   CSS VARIABLES & RESET
   ======================================== */

:root {
    --primary: #333333;
    --secondary: #fffef5;
    --accent: #4a90d9;
    --accent-light: #6ba8e8;
    --accent-dark: #3570b0;
    --bg-paper: #fffef5;
    --bg-warm: #faf8ef;
    --bg-cool: #f5f3ea;
    --text-main: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --border-sketch: #333333;
    --border-light: #d0cec5;
    --line-color: #c8c8c8;
    --red-margin: #e8a0a0;
    --shadow-sketch: 3px 4px 0px rgba(51, 51, 51, 0.08);
    --shadow-hover: 5px 6px 0px rgba(51, 51, 51, 0.12);
    --font-hand: 'Caveat', cursive;
    --font-body: 'Patrick Hand', cursive;
    --font-alt: 'Architects Daughter', cursive;
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 72px;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-paper);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Notebook paper texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            transparent,
            transparent 31px,
            rgba(200, 200, 200, 0.12) 31px,
            rgba(200, 200, 200, 0.12) 32px
        );
    pointer-events: none;
    z-index: 0;
}

/* Grain overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s var(--transition-smooth);
}

a:hover {
    color: var(--accent-dark);
}

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-hand);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

::selection {
    background-color: var(--accent);
    color: #fff;
}

/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-paper);
    border-top: 3px dashed var(--border-sketch);
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.5s var(--transition-bounce);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

.cookie-text {
    flex: 1;
    min-width: 200px;
}

.cookie-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 4px;
}

.cookie-links {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
}

.cookie-links a {
    text-decoration: underline;
    text-decoration-style: dashed;
}

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

.cookie-settings-panel {
    max-width: 1100px;
    margin: 16px auto 0;
    padding: 16px;
    border: 2px dashed var(--border-light);
    border-radius: 8px;
    background: var(--bg-warm);
}

.cookie-settings-panel h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.cookie-option {
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-light);
}

.cookie-option:last-of-type {
    border-bottom: none;
}

.cookie-option label {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

/* ========================================
   BUTTONS
   ======================================== */

.btn-sketch {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 10px 24px;
    border: 2px solid var(--border-sketch);
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all 0.25s var(--transition-bounce);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
    background: transparent;
    color: var(--text-main);
}

.btn-sketch:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0px var(--border-sketch);
}

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

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

.btn-primary-sketch:hover {
    background-color: var(--accent-dark);
    color: #fff;
    box-shadow: 4px 4px 0px rgba(51, 51, 51, 0.3);
}

.btn-secondary-sketch {
    background-color: transparent;
    border-style: dashed;
}

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

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

.btn-decline {
    background-color: transparent;
    border-style: dashed;
}

.btn-settings {
    background-color: transparent;
    border-style: dotted;
    font-size: 0.9rem;
}

.btn-card-detail {
    font-size: 0.9rem;
    padding: 8px 18px;
    border-style: dashed;
    margin-top: auto;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 14px 28px;
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav-sketch {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 254, 245, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px dashed var(--border-light);
    z-index: 1000;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.nav-sketch.scrolled {
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    border-bottom-color: var(--border-sketch);
}

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

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

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

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

.nav-links li a {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s var(--transition-bounce);
    border-radius: 2px;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 60%;
}

.nav-links li a:hover {
    color: var(--accent);
}

.nav-cta {
    background: var(--accent) !important;
    color: #fff !important;
    border: 2px solid var(--accent-dark);
    border-radius: 6px !important;
    font-weight: 600;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--accent-dark) !important;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px rgba(51, 51, 51, 0.2);
}

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

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s var(--transition-smooth);
    transform-origin: center;
}

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

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

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

.nav-legal {
    position: relative;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    padding: calc(var(--nav-height) + 40px) 24px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
}

.hero-bg-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.5;
}

.hero-doodle {
    position: absolute;
    z-index: 1;
    opacity: 0;
    animation: fadeInDoodle 1s ease forwards;
}

.doodle-1 {
    top: 15%;
    right: 8%;
    animation-delay: 0.8s;
}

.doodle-2 {
    bottom: 25%;
    left: 3%;
    animation-delay: 1.2s;
}

.doodle-3 {
    top: 60%;
    right: 15%;
    animation-delay: 1.5s;
}

@keyframes fadeInDoodle {
    from {
        opacity: 0;
        transform: translateY(10px) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }
}

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

.hero-text {
    opacity: 0;
    animation: slideInLeft 0.8s ease 0.2s forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border: 2px dashed var(--accent);
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 20px;
    background: rgba(74, 144, 217, 0.05);
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.title-line {
    display: block;
}

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

.title-accent::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(74, 144, 217, 0.15);
    border-radius: 4px;
    transform: rotate(-1deg);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 480px;
    margin-bottom: 28px;
    line-height: 1.8;
}

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

.hero-image {
    position: relative;
    opacity: 0;
    animation: slideInRight 0.8s ease 0.4s forwards;
}

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

.sketch-frame {
    position: relative;
    display: inline-block;
    overflow: visible;
}

.sketch-frame img {
    border-radius: 8px;
    position: relative;
    z-index: 1;
    object-fit: cover;
    width: 100%;
    height: auto;
}

.frame-border {
    position: absolute;
    top: -4px;
    left: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    z-index: 2;
    pointer-events: none;
}

.hero-arrow {
    position: absolute;
    bottom: -20px;
    left: 20px;
    z-index: 3;
    animation: arrowBounce 2s ease infinite;
}

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

.hero-stats {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 60px auto 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 28px 32px;
    border: 2px dashed var(--border-light);
    border-radius: 12px;
    background: rgba(255, 254, 245, 0.8);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

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

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.stat-plus, .stat-suffix {
    font-family: var(--font-hand);
    font-size: 1.6rem;
    color: var(--accent);
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 4px;
}

.stat-divider {
    flex-shrink: 0;
}

/* ========================================
   SECTIONS - GENERAL
   ======================================== */

.section {
    position: relative;
    z-index: 1;
    padding: 80px 24px;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--accent);
    margin-bottom: 12px;
    padding: 4px 14px;
    border: 1.5px dashed var(--accent);
    border-radius: 20px;
    background: rgba(74, 144, 217, 0.04);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 8px;
}

.title-underline {
    display: block;
    margin: 0 auto 16px;
}

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

/* ========================================
   SERVICES SECTION
   ======================================== */

.services-section {
    background: var(--bg-warm);
}

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

.service-card {
    position: relative;
    background: var(--bg-paper);
    padding: 32px 24px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    transition: all 0.35s var(--transition-bounce);
    cursor: default;
    overflow: visible;
}

.service-card:hover {
    transform: translate(-3px, -5px) rotate(-0.5deg);
    box-shadow: 6px 8px 0px rgba(51, 51, 51, 0.1);
}

.card-sketch-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

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

.service-icon {
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-light);
    border-radius: 12px;
    background: rgba(74, 144, 217, 0.05);
    transition: all 0.3s var(--transition-bounce);
}

.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.05);
    border-color: var(--accent);
    background: rgba(74, 144, 217, 0.1);
}

.service-card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.service-card > p {
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.service-features {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

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

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

/* ========================================
   ABOUT SECTION
   ======================================== */

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

.about-images {
    position: relative;
}

.about-img-main {
    width: 100%;
    max-width: 480px;
}

.about-img-main img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -20px;
    width: 55%;
    max-width: 280px;
    z-index: 3;
}

.about-img-secondary img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 4px 4px 0px rgba(51, 51, 51, 0.08);
}

.about-scribble {
    position: absolute;
    top: -20px;
    right: 20px;
    z-index: 0;
}

.about-text .section-tag {
    margin-bottom: 12px;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 4px;
}

.about-text .title-underline {
    margin: 0 0 24px 0;
}

.about-lead {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-text > p {
    color: var(--text-light);
    margin-bottom: 14px;
    line-height: 1.7;
}

.about-highlights {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    border: 1.5px dashed var(--border-light);
    border-radius: 8px;
    transition: all 0.3s var(--transition-bounce);
}

.highlight-item:hover {
    border-color: var(--accent);
    transform: translateX(4px);
    background: rgba(74, 144, 217, 0.03);
}

.highlight-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.highlight-item strong {
    display: block;
    font-family: var(--font-hand);
    font-size: 1.1rem;
}

.highlight-item span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ========================================
   TRUST SECTION
   ======================================== */

.trust-section {
    background: var(--bg-cool);
}

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

.trust-card {
    background: var(--bg-paper);
    padding: 28px 20px;
    border: 2px dashed var(--border-light);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s var(--transition-bounce);
}

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

.trust-card svg {
    margin: 0 auto 14px;
}

.trust-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

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

.trust-card a {
    text-decoration: underline;
    text-decoration-style: dashed;
}

/* ========================================
   TEAM SECTION
   ======================================== */

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

.team-card {
    text-align: center;
    padding: 24px 16px;
    border: 2px dashed transparent;
    border-radius: 10px;
    transition: all 0.3s var(--transition-bounce);
}

.team-card:hover {
    border-color: var(--border-light);
    background: var(--bg-warm);
    transform: translateY(-4px) rotate(-1deg);
}

.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 14px;
    border: 2px dashed var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-warm);
    transition: all 0.3s var(--transition-bounce);
    overflow: hidden;
}

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

.team-card h3 {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.team-role {
    display: block;
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 8px;
    font-family: var(--font-alt);
}

.team-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ========================================
   GALLERY SECTION
   ======================================== */

.gallery-section {
    padding: 40px 24px;
    background: var(--bg-warm);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s var(--transition-smooth);
}

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

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

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

.testimonial-card {
    background: var(--bg-warm);
    padding: 28px;
    border: 2px dashed var(--border-light);
    border-radius: 10px;
    position: relative;
    transition: all 0.3s var(--transition-bounce);
}

.testimonial-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.testimonial-quote {
    margin-bottom: 12px;
}

.testimonial-card > p {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
}

.testimonial-author strong {
    display: block;
    font-family: var(--font-hand);
    font-size: 1.15rem;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========================================
   CASE STUDIES SECTION
   ======================================== */

.cases-section {
    background: var(--bg-warm);
}

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

.case-card {
    background: var(--bg-paper);
    padding: 32px 24px;
    border: 2px dashed var(--border-light);
    border-radius: 10px;
    transition: all 0.3s var(--transition-bounce);
}

.case-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.case-number {
    font-family: var(--font-hand);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 4px;
}

.case-sketch-line {
    margin-bottom: 16px;
}

.case-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.case-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.case-meta span {
    padding: 2px 10px;
    border: 1px dashed var(--border-light);
    border-radius: 12px;
}

.case-block {
    margin-bottom: 14px;
}

.case-block strong {
    display: block;
    font-family: var(--font-hand);
    font-size: 1.05rem;
    color: var(--accent);
    margin-bottom: 4px;
}

.case-block p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
    background: var(--bg-cool);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    position: relative;
}

.contact-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    border: 1.5px dashed var(--border-light);
    border-radius: 10px;
    margin-bottom: 16px;
    background: var(--bg-paper);
    transition: all 0.3s var(--transition-bounce);
}

.contact-card:hover {
    border-color: var(--accent);
    transform: translateX(4px);
}

.contact-card svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-card strong {
    display: block;
    font-family: var(--font-hand);
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-scribble {
    position: absolute;
    bottom: -20px;
    right: 0;
}

.contact-form-wrapper {
    position: relative;
}

.form-sketch-frame {
    position: relative;
    background: var(--bg-paper);
    padding: 36px;
    border-radius: 12px;
}

.form-frame-svg {
    position: absolute;
    top: -4px;
    left: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    pointer-events: none;
    z-index: 0;
}

.form-sketch-frame h3 {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    margin-bottom: 24px;
    text-align: center;
}

.form-group {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-family: var(--font-hand);
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--text-main);
}

.required {
    color: #d94a4a;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    background: var(--bg-warm);
    border: 2px dashed var(--border-light);
    border-radius: 8px;
    outline: none;
    transition: all 0.3s;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #d94a4a;
}

.form-error {
    display: block;
    font-size: 0.82rem;
    color: #d94a4a;
    margin-top: 4px;
    min-height: 0;
    font-family: var(--font-alt);
}

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

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

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

.checkbox-custom {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px dashed var(--border-light);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    background: var(--bg-warm);
    margin-top: 2px;
}

.checkbox-label input:checked + .checkbox-custom {
    border-color: var(--accent);
    background: rgba(74, 144, 217, 0.1);
}

.check-mark {
    opacity: 0;
    transition: opacity 0.2s;
}

.checkbox-label input:checked + .checkbox-custom .check-mark {
    opacity: 1;
}

.checkbox-label input:focus-visible + .checkbox-custom {
    outline: 2px dashed var(--accent);
    outline-offset: 2px;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.form-success svg {
    margin: 0 auto 16px;
    animation: successPop 0.5s var(--transition-bounce);
}

@keyframes successPop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.form-success h3 {
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-light);
}

/* ========================================
   FOOTER
   ======================================== */

.footer-section {
    background: var(--bg-warm);
    padding: 48px 24px 24px;
    position: relative;
    z-index: 1;
}

.footer-top-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 12px;
    line-height: 1.6;
}

.footer-address {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
}

.footer-logo {
    font-size: 1.4rem !important;
}

.footer-links h4 {
    font-family: var(--font-hand);
    font-size: 1.2rem;
    margin-bottom: 14px;
    color: var(--text-main);
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

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

.footer-links ul li:not(:has(a)) {
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1.5px dashed var(--border-light);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-legal {
    padding: 24px;
}

/* ========================================
   MODALS
   ======================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(51, 51, 51, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--transition-smooth);
}

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

.modal-content {
    background: var(--bg-paper);
    border: 3px dashed var(--border-sketch);
    border-radius: 12px;
    padding: 40px;
    max-width: 560px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.35s var(--transition-bounce);
}

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: 2px dashed var(--border-light);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close:hover {
    border-color: var(--accent);
    transform: rotate(90deg);
}

.modal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 4px;
    padding-right: 40px;
}

.modal-underline {
    margin-bottom: 20px;
}

.modal-content > p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.modal-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--accent);
}

.modal-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.modal-content ul li {
    list-style: disc;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 6px;
    line-height: 1.5;
}

.modal-content ul li::marker {
    color: var(--accent);
}

.modal-cta {
    margin-top: 8px;
}

/* ========================================
   BACK TO TOP
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border: 2px dashed var(--border-sketch);
    border-radius: 50%;
    background: var(--bg-paper);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s var(--transition-bounce);
    box-shadow: var(--shadow-sketch);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
    border-color: var(--accent-dark);
    transform: translateY(-3px);
}

.back-to-top:hover svg path {
    stroke: #fff;
}

/* ========================================
   LEGAL PAGES
   ======================================== */

.legal-page {
    padding: calc(var(--nav-height) + 40px) 24px 60px;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.nav-legal + .legal-page {
    padding-top: 40px;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
}

.legal-header h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 8px;
}

.legal-header .title-underline {
    margin-bottom: 12px;
}

.legal-updated {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: var(--font-alt);
}

.legal-content {
    background: var(--bg-paper);
    border: 2px dashed var(--border-light);
    border-radius: 12px;
    padding: 40px;
}

.legal-section {
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px dashed var(--border-light);
}

.legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 14px;
    color: var(--accent);
}

.legal-section h3 {
    font-size: 1.2rem;
    margin-top: 16px;
    margin-bottom: 8px;
}

.legal-section p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 10px;
}

.legal-section ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.legal-section ul li {
    list-style: disc;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 6px;
    line-height: 1.6;
}

.legal-section ul li::marker {
    color: var(--accent);
}

/* GDPR specific */
.gdpr-intro {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 20px;
}

.gdpr-lead {
    font-size: 1.1rem !important;
    color: var(--text-main) !important;
    font-weight: 600;
    line-height: 1.7;
    padding: 20px;
    border: 2px dashed var(--accent);
    border-radius: 10px;
    background: rgba(74, 144, 217, 0.04);
}

.gdpr-info-box {
    background: var(--bg-warm);
    border: 1.5px dashed var(--border-light);
    border-radius: 8px;
    padding: 20px;
    margin: 12px 0;
}

.gdpr-info-box p {
    margin-bottom: 4px !important;
}

.gdpr-right {
    margin-bottom: 28px;
    padding: 24px;
    border: 1.5px dashed var(--border-light);
    border-radius: 10px;
    background: var(--bg-warm);
    transition: border-color 0.3s;
}

.gdpr-right:hover {
    border-color: var(--accent);
}

.gdpr-right-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.gdpr-right-header h3 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--text-main);
}

.gdpr-right p {
    font-size: 0.92rem;
}

.gdpr-right ul {
    margin-bottom: 8px;
}

/* ========================================
   ANIMATIONS - SCROLL REVEAL
   ======================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}

.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; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1100px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    
    .footer-grid > :last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 960px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }
    
    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-text .section-title {
        text-align: center;
    }
    
    .about-text .title-underline {
        margin: 0 auto 24px;
    }
    
    .about-text .section-tag {
        display: inline-flex;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-highlights {
        text-align: left;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--bg-paper);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px 24px;
        gap: 4px;
        border-left: 2px dashed var(--border-sketch);
        transform: translateX(100%);
        transition: transform 0.4s var(--transition-smooth);
        z-index: 999;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    }
    
    .nav-links.open {
        transform: translateX(0);
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links li a {
        display: block;
        padding: 12px 16px;
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 16px;
    }
    
    .form-sketch-frame {
        padding: 24px;
    }
    
    .modal-content {
        padding: 28px;
        max-height: 90vh;
    }
    
    .legal-content {
        padding: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn-sketch {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .about-img-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        width: 80%;
        max-width: 280px;
        margin-top: -30px;
        margin-left: auto;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .cookie-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        width: 100%;
    }
    
    .cookie-buttons .btn-sketch {
        flex: 1;
        justify-content: center;
        font-size: 0.85rem;
        padding: 8px 12px;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

@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;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible styles */
*:focus-visible {
    outline: 2px dashed var(--accent);
    outline-offset: 3px;
}

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

/* High contrast mode support */
@media (forced-colors: active) {
    .btn-sketch {
        border: 2px solid ButtonText;
    }
    
    .service-card,
    .trust-card,
    .testimonial-card,
    .case-card {
        border: 2px solid ButtonText;
    }
}

/* Print styles */
@media print {
    .nav-sketch,
    .cookie-banner,
    .back-to-top,
    .modal-overlay,
    .hero-doodle {
        display: none !important;
    }
    
    body::before,
    body::after {
        display: none;
    }
    
    .section {
        padding: 20px 0;
    }
    
    .hero-section {
        min-height: auto;
        padding-top: 20px;
    }
}
```

Now the JavaScript:

```javascript