:root {
    --food-bg: #f6f1e8;
    --food-paper: #fffdf8;
    --food-paper-strong: #efe6d9;
    --food-ink: #1d1713;
    --food-muted: #6e6257;
    --food-line: rgba(29, 23, 19, 0.12);
    --food-dark: #231d19;
    --food-accent: #c9653b;
    --food-accent-soft: rgba(201, 101, 59, 0.1);
    --food-header-h: 84px;
    --food-font: "Manrope", sans-serif;
    --food-display: "Fraunces", serif;
    --food-mono: "Courier Prime", monospace;
    --food-radius-lg: 24px;
    --food-radius-md: 18px;
    --food-radius-sm: 14px;
    --food-shadow: 0 18px 48px rgba(29, 23, 19, 0.08);
}

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

html, body { margin: 0; padding: 0; }

body {
    min-width: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 0% 0%, rgba(201, 101, 59, 0.1), transparent 24%),
        radial-gradient(circle at 100% 0%, rgba(64, 88, 54, 0.06), transparent 28%),
        linear-gradient(180deg, #fbf7f0 0%, var(--food-bg) 38%, #eee5d9 100%);
    color: var(--food-ink);
    font-family: var(--food-font);
    font-size: 16px;
    line-height: 1.6;
}

body.page-home {
    background:
        radial-gradient(circle at 12% 0%, rgba(201, 101, 59, 0.14), transparent 24%),
        radial-gradient(circle at 88% 6%, rgba(124, 78, 52, 0.12), transparent 20%),
        linear-gradient(180deg, #fbf7f1 0%, #f5eee3 40%, #ece0d0 100%);
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.hamburger-menu {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 4000;
    width: 46px;
    height: 46px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--food-line);
    border-radius: 999px;
    background: rgba(255,253,248,0.94);
    box-shadow: 0 10px 28px rgba(29,23,19,0.1);
}

.hamburger-icon {
    width: 18px;
    height: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--food-ink);
    transition: transform .2s ease, opacity .2s ease;
}

.hamburger-icon.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger-icon.active span:nth-child(2) { opacity: 0; }
.hamburger-icon.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 3200;
    background: rgba(29,23,19,0.24);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}

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

.main-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 3000;
    display: grid;
    grid-template-columns: minmax(220px,260px) 1fr auto;
    align-items: center;
    gap: 18px;
    min-height: 72px;
    padding: 12px max(24px, calc((100vw - 1140px) / 2));
    background: rgba(255,253,248,0.9);
    border-bottom: 1px solid var(--food-line);
    backdrop-filter: blur(14px);
}

.home-logo {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    text-decoration: none;
}

.brand-name {
    font-family: var(--food-font);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.brand-role {
    color: var(--food-muted);
    font-family: var(--food-mono);
    font-size: 9px;
    line-height: 1.2;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links li,
.nav-links a,
.nav-links p {
    font-family: var(--food-mono);
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
}

.nav-links .nav-divider,
.nav-links li p,
.content-wrapper { display: none; }

.nav-links a:hover,
body.page-about .nav-links a[href="about.php"],
body.page-services .nav-links a[href="services.php"],
body.page-contact .nav-links a[href="contact.php"],
body.page-portfolio .nav-links a[href="portfolio.php"],
body.page-privacy .nav-links a[href="privacy-policy.php"],
.footer-links a:hover,
.legal-links a:hover {
    color: var(--food-accent);
}

.cta-button,
.btn-primary,
.btn-secondary,
.card-btn,
.footer-btn,
.cookie-accept,
.filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 11px 16px;
    border-radius: 999px;
    font-family: var(--food-mono);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.cta-button,
.btn-primary,
.card-btn.btn-primary,
.footer-btn,
.cookie-accept,
.filter-btn.active {
    background: var(--food-dark);
    border: 1px solid var(--food-dark);
    color: #f8f5f1;
    box-shadow: 0 10px 24px rgba(29,23,19,.12);
}

.btn-secondary,
.card-btn.btn-secondary,
.filter-btn {
    background: transparent;
    border: 1px solid var(--food-line);
    color: var(--food-ink);
}

.cta-button:hover,
.btn-primary:hover,
.card-btn.btn-primary:hover,
.footer-btn:hover,
.cookie-accept:hover,
.filter-btn.active:hover {
    background: var(--food-accent);
    border-color: var(--food-accent);
    transform: translateY(-1px);
}

.btn-secondary:hover,
.card-btn.btn-secondary:hover,
.filter-btn:hover {
    border-color: var(--food-accent);
    color: var(--food-accent);
}

main { padding: calc(var(--food-header-h) + 8px) 24px 92px; }
.container { width: min(1140px, 100%); margin: 0 auto; }

.hero-services,
.hero-about,
.hero-contact,
.hero-portfolio,
.privacy-policy {
    padding: 28px 0 42px;
}

body.page-home .hero-services {
    padding: 36px 0 18px;
}

.hero-badge,
.popular-badge,
.premium-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--food-accent-soft);
    color: var(--food-accent);
    font-family: var(--food-mono);
    font-size: 10px;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
}

h1, .section-title, .portfolio-cta h2, .contact-form-section h2, .contact-info h2, .privacy-policy h1 {
    font-family: var(--food-display);
    color: var(--food-ink);
    letter-spacing: -.04em;
}

.hero-services h1,
.hero-about h1,
.hero-contact h1,
.hero-portfolio h1 {
    max-width: 14ch;
    margin: 0 0 18px;
    font-size: clamp(44px, 5vw, 70px);
    font-weight: 700;
    line-height: .95;
    text-wrap: balance;
}

body.page-home .hero-services h1 {
    max-width: 11.5ch;
    margin-bottom: 22px;
    font-size: clamp(52px, 6vw, 82px);
    line-height: .92;
}

.highlight { color: var(--food-accent); }

.lead,
.hero-description,
.portfolio-cta .lead {
    max-width: 52ch;
    color: #4e443b;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.65;
}

body.page-home .hero-description {
    max-width: 46ch;
    font-size: 18px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.home-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

body.page-home .home-proof {
    grid-template-columns: 1.15fr 1fr 1fr;
    margin-top: 34px;
}

.proof-card {
    padding: 16px;
    background: rgba(255,253,248,.84);
    border: 1px solid var(--food-line);
    border-radius: var(--food-radius-md);
    box-shadow: 0 12px 30px rgba(29,23,19,.06);
}

body.page-home .proof-card:first-child {
    background: linear-gradient(180deg, rgba(124, 78, 52, 0.12), rgba(255, 253, 248, 0.96));
    border-color: rgba(124, 78, 52, 0.18);
}

.proof-card strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.proof-card span {
    display: block;
    margin-top: 8px;
    color: var(--food-muted);
    font-family: var(--food-mono);
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.featured-work-section,
.testimonials-section,
.about-content,
.services-page .pricing-section,
.how-it-works,
.addons-section,
.faq-section,
.contact-content,
.portfolio-filters,
.portfolio-gallery,
.portfolio-cta-section,
.social-proof {
    padding: 56px 0 0;
}

.section-heading-block {
    margin-bottom: 28px;
}

.section-intro {
    max-width: 62ch;
    margin: 10px 0 0;
    color: var(--food-muted);
    font-size: 13px;
    line-height: 1.6;
}

.carousel-container,
.pricing-card,
.process-step-card,
.addon-item,
.faq-item,
.service-item,
.testimonial,
.contact-form-section,
.contact-info,
.portfolio-cta,
.credentials,
.contact-cta,
.privacy-policy,
.client-logos,
.social-link {
    background: rgba(255,253,248,.84);
    border: 1px solid var(--food-line);
    border-radius: var(--food-radius-md);
    box-shadow: 0 12px 30px rgba(29,23,19,.06);
}

#hero-carousel-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--food-radius-sm);
    box-shadow: var(--food-shadow);
    transition: opacity .35s ease;
}

.featured-cta { margin-top: 20px; }

.featured-work-section .container,
.services-overview .container,
.testimonials-section .container,
.portfolio-gallery .container,
.portfolio-cta-section .container {
    max-width: 1180px;
}

body.page-home .featured-work-section {
    padding-top: 22px;
}

.testimonials-grid,
.pricing-cards,
.process-steps-grid,
.addons-grid,
.faq-grid,
.gallery-grid,
.testimonials-inline,
.client-logos {
    display: grid;
    gap: 20px;
}

.testimonials-grid,
.testimonials-inline { grid-template-columns: repeat(3, minmax(0,1fr)); }
.pricing-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
.addons-grid,
.faq-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.process-steps-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.gallery-grid { grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 28px; }
.client-logos { grid-template-columns: repeat(4, minmax(0,1fr)); margin-top: 24px; }

.home-service-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial,
.process-step-card,
.addon-item,
.faq-item,
.service-item,
.pricing-card,
.contact-form-section,
.contact-info,
.credentials,
.contact-cta,
.portfolio-cta { padding: 24px; }

.testimonials-header,
.pricing-header,
.how-it-works-header,
.addons-header,
.faq-section .section-title,
.portfolio-filters .filter-buttons,
.portfolio-cta,
.social-proof .testimonials-header {
    margin-bottom: 24px;
}

.testimonial .quote,
blockquote { margin: 0 0 14px; font-size: 15px; line-height: 1.6; }
.testimonial .author,
blockquote cite,
.logo-item {
    font-family: var(--food-mono);
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--food-muted);
    font-style: normal;
}

.about-grid,
.contact-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(280px,.9fr); gap: 32px 42px; }

.about-text > p,
.about-text li,
.service-item p,
.package-description,
.ideal-for,
.faq-item p,
.contact-info p,
.privacy-policy p,
.privacy-policy li {
    color: #4e443b;
    font-size: 14px;
    line-height: 1.7;
}

.about-sidebar { display: grid; gap: 20px; align-content: start; }
.service-list, .facts-list, .features { margin: 18px 0 0; padding-left: 18px; }
.service-list li, .facts-list li, .features li { margin-bottom: 8px; }

.pricing-card.featured,
.addon-item.highlight {
    background: linear-gradient(180deg, rgba(201,101,59,.08), rgba(255,253,248,.92));
    border-color: rgba(201,101,59,.18);
}

.card-header h3 { font-size: 24px; font-weight: 800; line-height: 1.1; }
.price, .addon-price {
    margin: 10px 0 4px;
    color: var(--food-accent);
    font-family: var(--food-display);
    font-size: 34px;
    line-height: 1;
}
.scope, .hero-subtitle {
    color: var(--food-muted);
    font-family: var(--food-mono);
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.card-footer { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.availability-note { padding: 24px; margin-top: 32px; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.featured-work-section .carousel-container {
    overflow: hidden;
    border-radius: var(--food-radius-lg);
}

body.page-home .featured-work-section .carousel-container {
    position: relative;
    padding: 18px;
    border: 1px solid rgba(124, 78, 52, 0.14);
    background:
        linear-gradient(180deg, rgba(255,253,248,.78), rgba(255,253,248,.88)),
        radial-gradient(circle at top right, rgba(201,101,59,.12), transparent 26%);
    box-shadow: 0 24px 54px rgba(29,23,19,.08);
}

body.page-home #hero-carousel-image {
    aspect-ratio: 16 / 8.8;
    border-radius: 20px;
}

body.page-home .featured-work-section .featured-cta {
    position: absolute;
    left: 36px;
    bottom: 36px;
    margin-top: 0;
}

body.page-home .featured-work-section .btn-primary {
    background: rgba(29,23,19,.92);
    border-color: rgba(29,23,19,.92);
}

.homepage-category-links {
    margin-top: 24px;
}

body.page-home .portfolio-filters {
    padding-top: 44px;
}

body.page-home .homepage-category-links .filter-btn {
    min-width: 124px;
    background: rgba(255,253,248,.68);
}

body.page-home .services-overview .pricing-card,
body.page-home .testimonials-section .testimonial {
    background: rgba(255,253,248,.76);
}

body.page-home .services-overview .pricing-card.featured {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(29,23,19,.1);
}

body.page-home .testimonials-section {
    padding-top: 64px;
}

body.page-home .testimonials-section .container {
    padding: 32px;
    border-radius: 28px;
    background: rgba(255,253,248,.44);
    border: 1px solid rgba(29,23,19,.08);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--food-radius-md);
    background: rgba(255,253,248,.84);
    border: 1px solid var(--food-line);
    box-shadow: 0 12px 30px rgba(29,23,19,.06);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center center;
}

.image-overlay,
.gallery-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 16px;
    background: linear-gradient(180deg, rgba(29,23,19,0) 0%, rgba(29,23,19,.72) 100%);
    color: #fff;
}

.gallery-label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,253,248,.16);
    border: 1px solid rgba(255,253,248,.22);
    backdrop-filter: blur(8px);
    font-family: var(--food-mono);
    font-size: 10px;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.portfolio-gallery .gallery-item img {
    transition: transform .35s ease;
}

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

.contact-form-section form { display: grid; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
label, .checkbox-label { font-size: 13px; font-weight: 700; color: var(--food-ink); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--food-line);
    border-radius: 12px;
    background: var(--food-paper);
    color: var(--food-ink);
    font: inherit;
}
textarea { resize: vertical; min-height: 140px; }
input:focus, select:focus, textarea:focus {
    outline: 2px solid rgba(201,101,59,.22);
    outline-offset: 1px;
    border-color: rgba(201,101,59,.35);
}

.checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }

.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 3500;
    display: none;
    padding: 8px max(24px, calc((100vw - 1140px) / 2)) 12px;
    background: rgba(29,23,19,.95);
    color: #f8f5f1;
    box-shadow: 0 -12px 28px rgba(29,23,19,.18);
}
.cookie-banner p { margin: 0 0 6px; font-size: 10px; line-height: 1.4; }

.main-footer {
    background: rgba(250,248,244,.96);
    border-top: 1px solid var(--food-line);
}

.main-footer .container { width: min(1180px, 100%); padding: 22px 24px 16px; }
.footer-content { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 24px; }
.footer-section h3, .footer-section h4 {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.footer-section p, .footer-links a, .footer-legal p, .legal-links a, .footer-credit p {
    margin: 0;
    color: var(--food-muted);
    font-size: 10px;
    line-height: 1.5;
    text-decoration: none;
}
.footer-links, .legal-links { margin: 0; padding: 0; list-style: none; }
.footer-links li, .legal-links li { margin: 0 0 6px; }
.footer-social { display: flex; gap: 10px; margin-top: 10px; }
.footer-social img { width: 16px; height: 16px; }
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid var(--food-line);
    color: var(--food-ink);
}
.footer-social a:hover {
    border-color: var(--food-accent);
    color: var(--food-accent);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--food-line);
}
.footer-legal { display: flex; flex-direction: column; gap: 8px; }
.legal-links { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
    .main-nav {
        left: auto;
        right: -300px;
        width: 300px;
        height: 100vh;
        grid-template-columns: 1fr;
        align-items: start;
        gap: 18px;
        padding: 76px 22px 24px;
        box-shadow: -8px 0 32px rgba(29,23,19,.12);
        transition: right .22s ease;
    }
    body.nav-active .main-nav { right: 0; }
    .hamburger-menu { display: inline-flex; }
    .brand-name { font-size: 18px; }
    .brand-role { font-size: 10px; }
    .nav-links { flex-direction: column; align-items: flex-start; gap: 10px; }
    .nav-links li, .nav-links a { font-size: 12px; }
    .nav-links .nav-divider, .nav-links li p, .content-wrapper { display: block; }
    .content-wrapper { margin-top: auto; }
    .social-icons { display: flex; gap: 12px; }
    .social-icons img { width: 16px; height: 16px; }
    main { padding: 82px 18px 68px; }
    .about-grid, .contact-grid, .pricing-cards, .process-steps-grid, .addons-grid, .faq-grid, .gallery-grid, .testimonials-grid, .testimonials-inline, .client-logos, .footer-content, .footer-bottom { grid-template-columns: 1fr; }
    .home-proof { grid-template-columns: 1fr; }
    body.page-home .home-proof { grid-template-columns: 1fr; }
    .hero-services h1, .hero-about h1, .hero-contact h1, .hero-portfolio h1 { max-width: none; font-size: 34px; line-height: .98; }
    body.page-home .hero-services h1 { font-size: 38px; line-height: .96; }
    .lead, .hero-description, .portfolio-cta .lead { font-size: 14px; line-height: 1.5; }
    #hero-carousel-image { aspect-ratio: 4 / 5; }
    body.page-home #hero-carousel-image { aspect-ratio: 4 / 5; }
    body.page-home .featured-work-section .carousel-container { padding: 12px; }
    body.page-home .featured-work-section .featured-cta {
        position: static;
        margin-top: 14px;
    }
    body.page-home .testimonials-section .container { padding: 0; border: 0; background: transparent; }
    .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 8px 10px 10px; border-radius: 16px; }
}
