:root {
    --primary-color: #234637;
    --secondary-color: #6f8978;
    --accent-color: #c2854f;
    --bg-color: #f4f7f5;
    --text-color: #2d2d2d;
    --glass-bg: rgba(255, 255, 255, 0.76);
    --glass-border: rgba(255, 255, 255, 0.55);
    --shadow: 0 10px 35px rgba(18, 34, 27, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #f9fbfa 0%, #edf2ef 40%, #e8eeeb 100%);
    color: var(--text-color);
    line-height: 1.75;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: "Fraunces", Georgia, serif;
    color: var(--primary-color);
    line-height: 1.15;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 2.4rem;
    position: relative;
}

h2::after {
    content: "";
    display: block;
    width: 66px;
    height: 3px;
    background: var(--accent-color);
    margin: 16px auto 0;
    border-radius: 2px;
}

h3 {
    font-size: clamp(1.4rem, 2.3vw, 2rem);
}

h4 {
    font-size: 1.2rem;
}

p {
    font-size: 1.04rem;
    color: #4d5550;
    margin-bottom: 1rem;
}

section {
    padding: 5.5rem 10%;
}

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 2.3rem;
}

.parallax-section {
    min-height: 74vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 1.5rem;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-hero {
    background-image:
        linear-gradient(to bottom right, rgba(20, 44, 34, 0.6), rgba(20, 44, 34, 0.2)),
        url("pic1.png");
}

.bg-break {
    min-height: 56vh;
    background-image:
        linear-gradient(to bottom right, rgba(20, 44, 34, 0.45), rgba(20, 44, 34, 0.2)),
        url("pic2.png");
}

.hero-content {
    max-width: 940px;
}

.hero-kicker {
    color: #233a2f;
    font-size: 1.25rem;
    font-weight: 600;
}

.hero-meta {
    font-size: 0.98rem;
    letter-spacing: 0.04em;
}

.btn {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.9rem 2rem;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
    background-color: #335945;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(9, 31, 22, 0.24);
}

.btn-light {
    background-color: #fff;
    color: var(--primary-color);
}

.intro {
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
}

.lead {
    font-size: clamp(1.1rem, 2vw, 1.34rem);
    line-height: 1.65;
}

.section-soft {
    background: linear-gradient(180deg, #edf2ef 0%, #f3f7f4 100%);
}

.section-white {
    background: #fff;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.4rem;
}

.card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 15px;
    text-align: center;
    padding: 1.8rem 1.3rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(14, 31, 23, 0.08);
}

.icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(194, 133, 79, 0.12);
    margin-bottom: 0.7rem;
}

.icon {
    width: 30px;
    height: 30px;
    fill: var(--accent-color);
}

.profile-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.profile-card {
    flex: 1;
    min-width: 280px;
    max-width: 390px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease;
}

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

.profile-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
}

.profile-text {
    padding: 1.7rem;
}

.tag {
    display: inline-block;
    background: #e8efeb;
    color: var(--primary-color);
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 0.8rem;
}

.quote-panel {
    padding: 1.8rem 2.2rem;
}

.quote-panel h3 {
    margin: 0;
    color: #1f2f27;
}

.split-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.split-text {
    flex: 1;
    min-width: 280px;
}

.split-visual {
    flex: 1;
    min-width: 280px;
    min-height: 440px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    background-image: linear-gradient(to bottom right, rgba(24, 37, 31, 0.2), rgba(24, 37, 31, 0.05)), url("pic3.png");
    background-size: cover;
    background-position: center;
}

.white-panel {
    background: #fff;
    border: none;
    margin-top: 1.1rem;
    padding: 1.4rem;
}

.approach-list {
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.approach-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.icon-inline {
    width: 18px;
    height: 18px;
    fill: var(--accent-color);
    margin-top: 0.25rem;
    flex: 0 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    min-height: 280px;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.gallery-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 15, 12, 0.78), rgba(10, 15, 12, 0.04));
    color: #fff;
    padding: 1rem 0.9rem;
    font-weight: 600;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.contact-section {
    background: linear-gradient(130deg, #234637 0%, #2f5d49 100%);
    color: #fff;
    text-align: center;
}

.contact-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.contact-wrap h2,
.contact-wrap p {
    color: #fff;
}

.contact-wrap p {
    opacity: 0.9;
}

.contact-form {
    display: grid;
    gap: 0.6rem;
    margin-top: 1.2rem;
    text-align: left;
}

.contact-form label {
    font-size: 0.92rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    padding: 0.75rem 0.9rem;
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 1px;
}

.hidden-field {
    position: absolute;
    left: -9999px;
}

.contact-fallback {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.contact-fallback a {
    color: #f4deca;
}

footer {
    background: #151515;
    color: #9a9a9a;
    text-align: center;
    padding: 3.7rem 1.2rem;
}

footer p {
    color: #9a9a9a;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.legal-wrap {
    max-width: 860px;
    margin: 1.5rem auto 0;
    text-align: left;
    font-size: 0.78rem;
}

.legal-wrap summary {
    cursor: pointer;
    text-align: center;
    color: #b0b0b0;
    text-decoration: underline;
    margin-bottom: 0.7rem;
}

.legal-panel {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 6px;
    line-height: 1.45;
}

.legal-panel p {
    color: #b8b8b8;
}

.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .btn,
    .gallery-item img,
    .gallery-overlay {
        transition: none;
    }
}

@media (min-width: 1025px) {
    .parallax-section {
        background-attachment: fixed;
    }
}

@media (max-width: 1024px) {
    section {
        padding: 4.5rem 7%;
    }

    .profile-img {
        height: 230px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 5%;
    }

    .parallax-section {
        min-height: 66vh;
    }

    .glass-panel {
        padding: 1.6rem;
    }

    .split-visual {
        min-height: 300px;
    }

    .gallery-item:hover .gallery-overlay {
        transform: translateY(100%);
    }

    .gallery-overlay {
        transform: translateY(0);
        font-size: 0.9rem;
    }
}
