@font-face {
  font-family: 'Apricots';
  src: url('fonts/Apricots.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Kudryashev Display';
  src: url('fonts/Kudryashev-Display.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ===================================
   Concept 3 - Asymmetric Contemporary
   Exact implementation from Pencil MCP
   =================================== */

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

:root {
    /* Color Palette */
    --primary-green: #62786F;
    --dark-green: #4a5c55;
    --light-green: #e8eeec;
    --accent-green: #62786F;
    --text-green: #62786F;
    --cream: #ffffff;
    --white: #ffffff;
    --light-bg: #f4f7f6;
    --card-bg: #e8eeec;

    /* Typography */
    --font-script: 'Apricots', cursive;
    --font-heading: 'Kudryashev Display', sans-serif;
    --font-body: 'Kudryashev Display', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--dark-green);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
    font-size: 18px;
}

/* ===================================
   Navigation - Concept 3
   =================================== */
.nav3 {
    background-color: var(--white);
    padding: 24px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(90, 122, 111, 0.1);
}

.nav3-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.nav3-logo {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-green);
}

.nav3-links {
    display: flex;
    gap: 32px;
}

.nav3-links a {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 400;
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav3-links a:hover {
    color: var(--dark-green);
}

/* ===================================
   Hero Section - Concept 3
   =================================== */
.hero3 {
    background-color: var(--white);
    padding: 160px 80px 100px 80px;
    margin-top: 0;
    position: relative;
    overflow: visible;
}

.hero3-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.hero3-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: center;
}

.hero3-tag {
    display: inline-block;
    width: fit-content;
    background-color: var(--card-bg);
    color: var(--primary-green);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 8px;
}

.hero3-title {
    font-family: var(--font-script);
    font-size: 72px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--primary-green);
}

.hero3-desc {
    font-family: var(--font-body);
    font-size: 19px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-green);
}

.hero3-cta {
    display: flex;
    gap: 16px;
}

.btn-primary3 {
    background-color: var(--primary-green);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary3:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
}

.btn-secondary3 {
    background-color: transparent;
    color: var(--primary-green);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    padding: 16px 32px;
    border-radius: 8px;
    border: 1px solid var(--primary-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary3:hover {
    background-color: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

.hero3-right {
    width: 526px;
    max-width: 100%;
    height: 596px;
    flex-shrink: 0;
}

.hero3-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 263px 263px 16px 16px;
}

/* ===================================
   About Me Section
   =================================== */
.about-me-section {
    background-color: var(--white);
    padding: 80px 80px;
    position: relative;
}

.about-me-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-me-photo-wrap {
    width: 380px;
    max-width: 100%;
    flex-shrink: 0;
}

.about-me-photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 190px 190px 16px 16px;
    display: block;
}

.about-me-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
}

.about-me-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-green);
}

.about-me-desc {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-green);
}

/* ===================================
   About Section - Concept 3
   =================================== */
.about3 {
    background-color: var(--white);
    padding: 80px;
    position: relative;
    overflow: hidden;
}

.about3-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.about3-left {
    width: 380px;
    flex-shrink: 0;
}

.about3-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 190px 190px 16px 16px;
    display: block;
}

.about3-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
}

.about3-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-green);
}

.about3-desc {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-green);
}

/* ===================================
   Bento Grid Services - Concept 3
   2×2 balanced grid (no generated images)
   =================================== */
.bento-grid3 {
    background-color: var(--white);
    padding: 80px 100px;
    position: relative;
}

.bento-grid3-content {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
}

/* Hide the row wrappers — grid is now flat */
.bento-row1,
.bento-row2 {
    display: contents;
}

/* Card 1 - Large Dark Card (text only, full padding) */
.bento-card1 {
    background-color: var(--dark-green);
    border-radius: 20px;
    display: flex;
    overflow: hidden;
}

.bento-card1-text {
    flex: 1;
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.bento-card1-title {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 600;
    line-height: 1.15;
    color: var(--white);
}

.bento-card1-desc {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(255,255,255,0.75);
}

/* Card 2 - Light Card with Icon */
.bento-card2 {
    background-color: var(--light-bg);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: flex-end;
}

.bento-icon {
    width: 28px;
    height: 28px;
    color: var(--primary-green);
}

.bento-card2-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--primary-green);
}

.bento-card2-desc {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-green);
}

/* Card 3 - Accent Card */
.bento-card3 {
    background-color: var(--light-green);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: flex-end;
}

.bento-card3 .bento-icon {
    color: var(--primary-green);
}

.bento-card3-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--primary-green);
}

.bento-card3-desc {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--dark-green);
}

/* Card 4 - White Card (text only) */
.bento-card4 {
    background-color: var(--white);
    border: 1px solid var(--light-green);
    border-radius: 20px;
    display: flex;
    overflow: hidden;
}

.bento-card4-text {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

.bento-card4-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--primary-green);
}

.bento-card4-desc {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-green);
}

/* ===================================
   CTA Section - Concept 3
   =================================== */
.cta3 {
    background: var(--primary-green);
    padding: 100px 80px;
    position: relative;
    overflow: hidden;
}

.cta3-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.cta3-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--white);
    max-width: 800px;
}

.cta3-desc {
    font-family: var(--font-body);
    font-size: 19px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
}

.cta3-btn {
    background-color: var(--white);
    color: var(--primary-green);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta3-btn:hover {
    background-color: var(--light-green);
    transform: translateY(-2px);
}

/* ===================================
   Contact Section - Concept 3
   =================================== */
.contact3 {
    background-color: var(--white);
    padding: 0 100px 80px 100px;
    position: relative;
}

.contact3-card {
    max-width: 1440px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 16px;
    padding: 56px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact3-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--primary-green);
}

.contact3-desc {
    font-family: var(--font-body);
    font-size: 19px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-green);
}

.contact3-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row3 {
    display: flex;
    gap: 20px;
}

.form-col3 {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label3 {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-green);
}

.form-field3 {
    width: 100%;
    height: 52px;
    background-color: var(--white);
    border: 1px solid var(--light-green);
    border-radius: 12px;
    padding: 0 16px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--dark-green);
    transition: border-color 0.3s ease;
}

.form-field3:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-textarea3 {
    height: 120px;
    padding: 16px;
    resize: vertical;
}

.form-submit3 {
    width: fit-content;
    background-color: var(--primary-green);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    padding: 16px 40px;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit3:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
}

/* ===================================
   Footer - Concept 3
   =================================== */
.footer3 {
    background-color: var(--dark-green);
    padding: 48px 80px;
    position: relative;
    overflow: hidden;
}

.footer3-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer3-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.footer3-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer3-logo-img {
    max-width: 180px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    /* Lighten the image slightly so it reads well on the dark footer */
    filter: brightness(1.15);
}

.footer3-tagline {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 400;
    color: #8fa89e;
}

.footer3-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.footer3-copy,
.footer3-values {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    color: #8fa89e;
}

/* ===================================
   Hamburger Menu Button
   =================================== */
.nav3-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.nav3-hamburger:hover {
    background-color: var(--card-bg);
}

.nav3-hamburger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--primary-green);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Animated X state when open */
.nav3-hamburger.is-open .nav3-hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav3-hamburger.is-open .nav3-hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav3-hamburger.is-open .nav3-hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1200px) {
    .nav3-content,
    .hero3,
    .about-me-section,
    .about3,
    .bento-grid3,
    .cta3,
    .contact3,
    .footer3 {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .hero3-content {
        flex-direction: column;
    }
    
    .hero3-right {
        width: 100%;
        max-width: 526px;
        height: auto;
        aspect-ratio: 526 / 596;
    }
    
    .about-me-content {
        flex-direction: column;
    }

    .about-me-photo-wrap {
        width: 100%;
        max-width: 380px;
        height: auto;
    }

    .about3-content {
        flex-direction: column;
    }
    
    .about3-left {
        width: 100%;
        max-width: 380px;
        height: auto;
    }
    
    .bento-grid3-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* --- Navigation --- */
    .nav3 {
        padding: 0;
    }

    .nav3-content {
        flex-wrap: wrap;
        align-items: center;
        padding: 12px 20px;
        gap: 0;
    }

    .nav3-logo {
        flex: 1;
    }

    .nav3-logo img {
        max-width: 160px !important;
    }

    /* Show hamburger button on mobile */
    .nav3-hamburger {
        display: flex;
    }

    /* Nav links: hidden by default, revealed when open */
    .nav3-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 8px 0 16px 0;
        border-top: 1px solid var(--accent-green);
        margin-top: 8px;
    }

    .nav3-links.is-open {
        display: flex;
    }

    .nav3-links a {
        padding: 12px 4px;
        font-size: 16px;
        min-height: 44px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid rgba(200, 221, 214, 0.4);
    }

    .nav3-links a:last-child {
        border-bottom: none;
    }

    /* --- Hero --- */
    .hero3 {
        padding: 100px 20px 60px 20px;
        margin-top: 0;
    }

    .hero3-content {
        flex-direction: column;
        gap: 32px;
    }

    .hero3-title {
        font-size: 34px;
        line-height: 1.15;
    }

    .hero3-desc {
        font-size: 16px;
    }

    .hero3-cta {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn-primary3,
    .btn-secondary3 {
        width: 100%;
        text-align: center;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 14px 24px;
    }

    .hero3-right {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 526 / 596;
        margin: 0 auto;
    }

    .hero3-image {
        border-radius: 50% 50% 12px 12px;
    }

    /* --- About Me --- */
    .about-me-section {
        padding: 48px 20px;
    }

    .about-me-content {
        flex-direction: column;
        gap: 32px;
    }

    .about-me-photo-wrap {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .about-me-title {
        font-size: 30px;
    }

    .about-me-desc {
        font-size: 16px;
    }

    /* --- About --- */
    .about3 {
        padding: 48px 20px;
        overflow: hidden;
    }

    .about3-content {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    .about3-left {
        width: 100%;
        max-width: 360px;
        height: auto;
        margin: 0 auto;
        /* Remove aspect-ratio so the image defines its own height naturally */
        aspect-ratio: unset;
        position: static;
        flex-shrink: 0;
    }

    .about3-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        border-radius: 180px 180px 12px 12px;
        /* Ensure no negative margins or transforms cause overlap */
        margin: 0;
        transform: none;
        position: static;
    }

    .about3-right {
        width: 100%;
        position: static;
        margin-top: 0;
        padding-top: 0;
        z-index: auto;
    }

    .about3-title {
        font-size: 30px;
    }

    .about3-desc {
        font-size: 16px;
    }

    /* --- Bento Grid --- */
    .bento-grid3 {
        padding: 48px 20px;
    }

    .bento-grid3-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bento-card1-text {
        padding: 32px 24px;
    }

    .bento-card1-title {
        font-size: 26px;
    }

    .bento-card2,
    .bento-card3,
    .bento-card4-text {
        padding: 28px 24px;
    }

    /* --- CTA --- */
    .cta3 {
        padding: 64px 20px;
    }

    .cta3-title {
        font-size: 30px;
    }

    .cta3-desc {
        font-size: 16px;
    }

    .cta3-btn {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        padding: 14px 32px;
        width: 100%;
        justify-content: center;
        max-width: 320px;
    }

    /* --- Contact --- */
    .contact3 {
        padding: 0 20px 48px 20px;
    }

    .contact3-card {
        padding: 32px 20px;
        gap: 24px;
    }

    .contact3-title {
        font-size: 28px;
    }

    .contact3-desc {
        font-size: 16px;
    }

    .form-row3 {
        flex-direction: column;
        gap: 16px;
    }

    .form-field3 {
        font-size: 16px; /* Prevents iOS auto-zoom on focus */
    }

    .form-submit3 {
        width: 100%;
        min-height: 48px;
        padding: 14px 32px;
    }

    /* --- Footer --- */
    .footer3 {
        padding: 40px 20px;
    }

    .footer3-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* --- Fluid images global --- */
    img {
        max-width: 100%;
        height: auto;
    }
}

/* ===================================
   Global fluid images (all breakpoints)
   =================================== */
img {
    max-width: 100%;
    height: auto;
}

/* ===================================
   Extra-small screens (≤480px)
   =================================== */
@media (max-width: 480px) {
    .nav3-logo img {
        max-width: 140px !important;
    }

    .hero3 {
        padding: 88px 16px 48px 16px;
    }

    .hero3-title {
        font-size: 28px;
    }

    .hero3-desc {
        font-size: 15px;
    }

    .hero3-right {
        max-width: 100%;
    }

    .about3 {
        padding: 40px 16px;
        overflow: hidden;
    }

    .about3-left {
        max-width: 100%;
        width: 100%;
        height: auto;
        aspect-ratio: unset;
        position: static;
    }

    .about3-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        border-radius: 160px 160px 10px 10px;
        margin: 0;
        transform: none;
        position: static;
    }

    .about3-right {
        width: 100%;
        position: static;
        margin-top: 0;
        padding-top: 0;
        z-index: auto;
    }

    .about3-title {
        font-size: 26px;
    }

    .about-me-section {
        padding: 40px 16px;
    }

    .about-me-title {
        font-size: 26px;
    }

    .bento-grid3 {
        padding: 40px 16px;
    }

    .bento-card1-title {
        font-size: 22px;
    }

    .bento-card2-title,
    .bento-card3-title,
    .bento-card4-title {
        font-size: 20px;
    }

    .cta3 {
        padding: 48px 16px;
    }

    .cta3-title {
        font-size: 26px;
    }

    .contact3 {
        padding: 0 16px 40px 16px;
    }

    .contact3-card {
        padding: 24px 16px;
    }

    .contact3-title {
        font-size: 24px;
    }

    .footer3 {
        padding: 32px 16px;
    }
}
