:root {
    --ink: #1c1a17;
    --muted: #4b433b;
    --sand: #f6f0e8;
    --sun: #f4c542;
    --clay: #cc8b5f;
    --deep: #17323d;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow: 0 25px 60px rgba(19, 18, 16, 0.15);
    --bg-start: #fffbf7;
    --bg-mid: #f7f6f5;
    --bg-end: #f5f2ee;
    --header-bg: rgba(255, 255, 255, 0.8);
    --border: rgba(28, 26, 23, 0.12);
    --border-soft: rgba(28, 26, 23, 0.08);
    --overlay-bg: rgba(255, 255, 255, 0.85);
    --overlay-ink: #201c18;
    --callout-bg: #17323d;
    --callout-text: #ffffff;
    --callout-muted: rgba(255, 255, 255, 0.7);
    --callout-btn-bg: #ffffff;
    --callout-btn-text: #17323d;
}

[data-theme="dark"] {
    --ink: #f5f2ee;
    --muted: #c1b8ae;
    --sand: #1b1917;
    --sun: #d9a628;
    --clay: #d9966b;
    --deep: #0c202a;
    --white: #181614;
    --glass: rgba(24, 22, 20, 0.85);
    --shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    --bg-start: #0e0c0a;
    --bg-mid: #14110f;
    --bg-end: #1a1714;
    --header-bg: rgba(18, 16, 14, 0.85);
    --border: rgba(255, 255, 255, 0.12);
    --border-soft: rgba(255, 255, 255, 0.08);
    --overlay-bg: rgba(18, 16, 14, 0.78);
    --overlay-ink: #f5f2ee;
    --callout-bg: #0f1a20;
    --callout-text: #f5f2ee;
    --callout-muted: rgba(245, 242, 238, 0.7);
    --callout-btn-bg: #f4c542;
    --callout-btn-text: #0f1a20;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    color: var(--ink);
    background: radial-gradient(
        circle at top left,
        var(--bg-start) 0%,
        var(--bg-mid) 45%,
        var(--bg-end) 100%
    );
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 20px;
    flex-wrap: wrap;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    width: clamp(200px, 22vw, 280px);
    max-width: 45vw;
    height: auto;
    border-radius: 8px;
    /* box-shadow: var(--shadow); */
    object-fit: contain;
}

.brand-name {
    margin: 0;
    font-family: "Fraunces", "Times New Roman", serif;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.brand-tag {
    margin: 2px 0 0;
    font-size: 0.75rem;
    color: var(--muted);
}

.nav {
    display: flex;
    gap: 18px;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav a {
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.nav a:hover {
    border-bottom-color: var(--clay);
}

.lang-toggle {
    display: flex;
    gap: 8px;
    background: var(--white);
    padding: 6px;
    border-radius: 999px;
    border: 1px solid var(--border);
}

.lang-btn {
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    color: var(--muted);
}

.lang-btn.is-active {
    background: var(--clay);
    color: var(--callout-text);
}

.theme-toggle {
    display: flex;
    gap: 8px;
    background: var(--white);
    padding: 6px;
    border-radius: 999px;
    border: 1px solid var(--border);
}

.theme-btn {
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    color: var(--muted);
}

.theme-btn.is-active {
    background: var(--clay);
    color: var(--callout-text);
}

.hero {
    position: relative;
    padding: 72px 0 90px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 40px 5% auto auto;
    width: 320px;
    height: 320px;
    border-radius: 30% 70% 55% 45% / 40% 40% 60% 60%;
    background: radial-gradient(
        circle at 30% 30%,
        #f4c542 0%,
        #f7dba0 60%,
        transparent 100%
    );
    opacity: 0.8;
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-copy h1 {
    /* font-family: "Fraunces", "Times New Roman", serif; */
    font-size: clamp(2.5rem, 3vw + 1.5rem, 4rem);
    line-height: 1.1;
    margin: 0 0 18px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: var(--deep);
    margin: 0 0 16px;
}

.lead {
    font-size: 1.1rem;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 26px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.btn.primary {
    background: var(--deep);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn.primary:hover {
    transform: translateY(-2px);
}

.btn.ghost {
    border-color: var(--deep);
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.hero-highlights .label {
    margin: 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
}

.hero-highlights .value {
    margin: 4px 0 0;
    font-weight: 600;
}

.hero-card {
    display: grid;
    gap: 16px;
}

.card {
    padding: 24px;
    border-radius: 24px;
    background: var(--glass);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.card.accent {
    background: linear-gradient(
        135deg,
        rgba(23, 50, 61, 0.95),
        rgba(23, 50, 61, 0.85)
    );
    color: var(--white);
}

.card-title {
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 12px;
}

.card ul {
    padding-left: 18px;
    margin: 12px 0 0;
}

.card li {
    margin-bottom: 6px;
}

.card .link {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
}

.section {
    padding: 80px 0;
    scroll-margin-top: 40px;
}

.section-header {
    max-width: 720px;
    margin-bottom: 32px;
}

.section-header h2 {
    /* font-family: "Fraunces", "Times New Roman", serif; */
    font-size: clamp(2rem, 2.4vw + 1rem, 3rem);
    margin: 0 0 12px;
}

.section-header p {
    margin: 0;
    color: var(--muted);
}

.focus-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.focus-item,
.service-card {
    background: var(--white);
    padding: 22px;
    border-radius: 18px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 14px 30px rgba(28, 26, 23, 0.08);
}

.focus-item h3,
.service-card h3 {
    margin: 0 0 10px;
}

.approach {
    background: linear-gradient(
        120deg,
        rgba(204, 139, 95, 0.2),
        rgba(229, 215, 177, 0.2)
    );
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    align-items: start;
}

.steps {
    display: grid;
    gap: 20px;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
    padding: 18px 20px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(28, 26, 23, 0.08);
}

.step > span {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--clay);
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(244, 197, 66, 0.25);
    border: 1px solid rgba(204, 139, 95, 0.35);
    flex-shrink: 0;
}

.step h3 {
    margin: 0 0 6px;
    font-size: 1.2rem;
    font-weight: 700;
    /*font-family: "Fraunces", "Times New Roman", serif;*/
    color: var(--ink);
}

.step p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.callout {
    padding: 60px 0;
}

.callout-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    background: var(--callout-bg);
    color: var(--callout-text);
    padding: 32px;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.callout-inner p {
    color: var(--callout-muted);
}

.callout-inner .btn.primary {
    background: var(--callout-btn-bg);
    color: var(--callout-btn-text);
    border-color: transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: start;
}

.contact-card {
    background: var(--white);
    padding: 24px;
    border-radius: 20px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 12px 25px rgba(28, 26, 23, 0.08);
}

.contact-form {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--ink);
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: var(--white);
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clay);
    box-shadow: 0 0 0 3px rgba(204, 139, 95, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    align-self: flex-start;
    margin-top: 8px;
}

.note {
    font-size: 0.85rem;
    color: var(--muted);
}

.footer {
    padding: 40px 0 50px;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.9rem;
}

.section-image-break {
    padding: 0;
    overflow: hidden;
}

.section-image-break img {
    width: 100%;
    height: clamp(220px, 30vw, 400px);
    object-fit: cover;
    display: block;
    filter: saturate(1.05);
}

.carousel {
    padding: 48px 0 70px;
}

.carousel-shell {
    position: relative;
}

.services-carousel {
    margin: 28px 0 36px;
}

.carousel-track {
    position: relative;
    height: min(580px, 75vh);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
}

.slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05);
}

.slide-overlay {
    position: absolute;
    left: clamp(16px, 5vw, 48px);
    right: clamp(16px, 5vw, 48px);
    bottom: clamp(16px, 6vw, 56px);
    max-width: 460px;
    padding: 24px 26px;
    color: var(--overlay-ink);
    z-index: 2;
    box-sizing: border-box;
}

.services-carousel .carousel-track {
    height: min(440px, 60vh);
}

.services-carousel .slide-overlay {
    max-width: 420px;
}

.hero-slide .slide-overlay {
    max-width: 560px;
}

.slide-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--overlay-bg);
    border-radius: 22px 40px 30px 22px;
    box-shadow: var(--shadow);
    z-index: -1;
}

.slide-overlay::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    right: -24px;
    top: -30px;
    background: radial-gradient(
        circle,
        rgba(244, 197, 66, 0.35) 0%,
        rgba(244, 197, 66, 0) 70%
    );
    z-index: -2;
}

.overlay-eyebrow {
    margin: 0 0 10px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
}

.hero-slide h1 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 2.4vw + 1rem, 3.4rem);
    line-height: 1.1;
    /* font-family: "Fraunces", "Times New Roman", serif; */
}

.slide-overlay h3 {
    margin: 0 0 8px;
    font-size: 1.4rem;
    /* font-family: "Fraunces", "Times New Roman", serif; */
}

.slide-overlay p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
}

.overlay-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.carousel-btn {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--deep);
    cursor: pointer;
    font-weight: 700;
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
}

.carousel-dot.is-active {
    background: var(--deep);
    border-color: var(--deep);
}

[data-theme="dark"] .carousel-btn {
    background: var(--glass);
    color: var(--callout-text);
    border-color: rgba(255, 255, 255, 0.22);
}

[data-theme="dark"] .carousel-dot.is-active {
    background: var(--callout-btn-bg);
    border-color: var(--callout-btn-bg);
}

@media (max-width: 900px) {
    .carousel-track {
        height: 420px;
    }

    .slide-overlay {
        left: clamp(14px, 5vw, 28px);
        right: clamp(14px, 5vw, 28px);
        max-width: none;
    }
}

@media (max-width: 600px) {
    .carousel-track {
        height: 360px;
    }

    .slide-overlay {
        bottom: clamp(12px, 6vw, 28px);
        padding: 18px 20px;
    }
}

@media (max-width: 760px) {
    .nav {
        display: none;
    }

    .header-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 12px;
        padding: 10px 0;
    }

    .brand {
        flex: 1 1 auto;
        min-width: 0;
        gap: 12px;
    }

    .brand-mark {
        width: clamp(120px, 32vw, 165px);
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }

    .header-controls {
        flex: 0 0 auto;
        gap: 8px;
    }

    .brand-name {
        display: none;
    }

    .brand-tag {
        display: none;
    }

    .lang-toggle,
    .theme-toggle {
        gap: 6px;
    }

    .hero {
        padding-top: 50px;
    }

    .callout-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
