:root {
    --rs-bg: #ffffff;
    --rs-bg-soft: #ffffff;
    --rs-surface: rgba(255, 255, 255, 1);
    --rs-line: rgba(34, 40, 48, 0.1);
    --rs-text: #1b2128;
    --rs-muted: #66707a;
    --rs-accent: #f2c23a;
    --rs-accent-strong: #e59b17;
    --rs-shadow: 0 20px 46px rgba(28, 36, 44, 0.08);
    --rs-radius: 1.75rem;
    --bs-body-bg: var(--rs-bg);
    --bs-body-color: var(--rs-text);
    --bs-primary: var(--rs-accent);
    --bs-primary-rgb: 242, 194, 58;
    --bs-border-color: var(--rs-line);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
    background: #ffffff;
}

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

.navbar-resato {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(34, 40, 48, 0.08);
}

.brand-mark {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.brand-title,
.hero-title,
.section-title,
.cta-title {
    font-family: "Trebuchet MS", "Avenir Next Condensed", sans-serif;
    letter-spacing: 0.02em;
}

.brand-title {
    font-size: 1.1rem;
}

.brand-subtitle {
    color: var(--rs-muted);
    font-size: 0.92rem;
}

.nav-link {
    position: relative;
    color: var(--rs-muted);
    font-weight: 500;
    border-radius: 999px;
    padding: 0.55rem 0.95rem !important;
    transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--rs-accent-strong);
    background: rgba(242, 194, 58, 0.14);
}

.nav-link.active,
.nav-link[aria-current="page"] {
    color: var(--rs-accent-strong);
    background: rgba(242, 194, 58, 0.16);
    box-shadow: inset 0 0 0 1px rgba(229, 155, 23, 0.16);
}

.btn-resato-primary {
    color: #1a1406;
    background: linear-gradient(135deg, var(--rs-accent) 0%, var(--rs-accent-strong) 100%);
    border: 0;
    box-shadow: 0 16px 30px rgba(229, 155, 23, 0.22);
}

.btn-resato-primary:hover,
.btn-resato-primary:focus {
    color: #1a1406;
    background: linear-gradient(135deg, #f5ca53 0%, #eca62d 100%);
}

.btn-resato-outline {
    color: var(--rs-text);
    background: #ffffff;
    border: 1px solid var(--rs-line);
}

.btn-resato-outline:hover,
.btn-resato-outline:focus {
    color: var(--rs-text);
    background: #fff;
    border-color: rgba(34, 40, 48, 0.18);
}

.hero-section {
    padding: 1.75rem 0 3.5rem;
}

.hero-shell {
    position: relative;
    overflow: hidden;
    padding: clamp(2.2rem, 5vw, 4rem);
    border: 1px solid rgba(242, 194, 58, 0.16);
    border-radius: 2rem;
    background:
        radial-gradient(circle at top right, rgba(242, 194, 58, 0.12), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #fffcf5 100%);
    box-shadow: 0 24px 50px rgba(28, 36, 44, 0.08);
}

.hero-simple {
    max-width: 420px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(242, 194, 58, 0.12);
    border: 1px solid rgba(229, 155, 23, 0.14);
    color: var(--rs-accent-strong);
    font-size: 0.88rem;
    font-weight: 600;
}

.hero-brand {
    font-family: "Trebuchet MS", "Avenir Next Condensed", sans-serif;
    font-size: clamp(3.4rem, 10vw, 7rem);
    line-height: 0.9;
    letter-spacing: 0.04em;
}

.hero-role {
    color: var(--rs-muted);
    font-size: clamp(1.2rem, 2vw, 1.75rem);
    line-height: 1.3;
    text-transform: lowercase;
}

.hero-lead {
    color: var(--rs-muted);
    font-size: 1.02rem;
    line-height: 1.8;
    max-width: 34rem;
}

.hero-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 1.75rem;
    background: #f5f7fa;
    box-shadow: var(--rs-shadow);
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 10;
}

.section-copy,
.card-copy,
.muted-copy {
    color: var(--rs-muted);
}

.section-block {
    padding: 2.5rem 0;
}

.section-title {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
}

.resato-card,
.resato-panel {
    border: 1px solid var(--rs-line);
    border-radius: 1.5rem;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(28, 36, 44, 0.05);
}

.resato-card {
    height: 100%;
}

.service-heading {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.icon-box {
    width: 54px;
    height: 54px;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(242, 194, 58, 0.18), rgba(229, 155, 23, 0.1));
    border: 1px solid rgba(229, 155, 23, 0.18);
    color: var(--rs-accent-strong);
    font-weight: 800;
    font-size: 1.15rem;
}

.icon-box i {
    font-size: 1.35rem;
    line-height: 1;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    border-radius: 1.5rem;
    border: 1px solid rgba(34, 40, 48, 0.08);
    box-shadow: 0 16px 34px rgba(28, 36, 44, 0.08);
    background: #f4f6f9;
}

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

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

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(27, 33, 40, 0.66) 100%);
}

.gallery-label {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
    color: #f5f3eb;
    font-size: 0.95rem;
}

.cta-panel {
    background:
        radial-gradient(circle at top right, rgba(242, 194, 58, 0.12), transparent 28%),
        linear-gradient(135deg, rgba(242, 194, 58, 0.08), rgba(255, 255, 255, 0.98));
}

.footer-line {
    border-top: 1px solid rgba(34, 40, 48, 0.08);
}

.site-footer-card {
    padding-bottom: 0.5rem;
}

.footer-brand {
    font-family: "Trebuchet MS", "Avenir Next Condensed", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.footer-text {
    max-width: 38rem;
    color: var(--rs-muted);
    line-height: 1.7;
}

.footer-meta {
    font-size: 0.95rem;
}

.footer-block {
    height: 100%;
}

.footer-heading {
    margin-bottom: 0.9rem;
    color: var(--rs-text);
    font-size: 1rem;
    font-weight: 700;
}

.footer-links {
    display: grid;
    gap: 0.65rem;
}

.footer-links a,
.footer-links span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--rs-muted);
    text-decoration: none;
    line-height: 1.5;
}

.footer-links i {
    color: var(--rs-accent-strong);
    font-size: 0.95rem;
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--rs-accent-strong);
}

.footer-contact-box {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-contact-box a {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(229, 155, 23, 0.16);
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
    font-size: 1.06rem;
    font-weight: 600;
}

.footer-bottom {
    margin-top: 2.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(34, 40, 48, 0.08);
}

.footer-credit-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-credit-label {
    color: var(--rs-muted);
    font-size: 0.85rem;
    white-space: nowrap;
}

.footer-credit-logo {
    max-width: 88px;
    width: auto;
    height: auto;
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 3rem;
    }

    .hero-shell {
        padding: 3rem 1rem;
    }

    .footer-bottom {
        margin-top: 2.25rem;
    }
}

@media (max-width: 767.98px) {
    .brand-mark {
        width: 56px;
        height: 56px;
    }

    .hero-simple {
        max-width: none;
        text-align: center;
    }

    .resato-card {
        text-align: center;
    }

    .service-heading {
        flex-direction: column;
        justify-content: center;
        gap: 0.75rem;
    }

    .resato-card .icon-box {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-bottom {
        margin-top: 1.5rem;
    }

    .footer-credit-inline {
        justify-content: center;
    }

    .footer-credit-logo {
        max-width: 80px;
    }
}
