:root {
    --ink: #0f172a;
    --ink-soft: #334155;
    --surface: #f7f5f1;
    --surface-2: #fffdf8;
    --line: #d9d4ca;
    --accent: #de7a2f;
    --accent-2: #f4bb69;
    --ok: #2f9e44;
    --bad: #d9480f;
    --shadow: 0 14px 34px rgba(20, 28, 41, 0.12);
    --radius: 20px;
    --transition: 220ms ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--ink);
    line-height: 1.6;
    background:
        radial-gradient(circle at 90% -10%, #ffd89e 0%, transparent 38%),
        radial-gradient(circle at 0% 20%, #fbe6c5 0%, transparent 30%),
        linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.top-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(to right, rgba(222, 122, 47, 0.08) 1px, transparent 1px), linear-gradient(to bottom, rgba(222, 122, 47, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 75%);
    z-index: -1;
}

.container {
    width: min(1140px, 92%);
    margin: 0 auto;
}

nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(255, 252, 245, 0.83);
    border-bottom: 1px solid rgba(217, 212, 202, 0.75);
}

.nav-inner {
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.logo {
    font-family: 'Sora', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    color: var(--ink);
}

.logo span {
    color: var(--accent);
}

.nav-phone {
    text-decoration: none;
    color: var(--ink);
    border: 1px solid var(--line);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.6);
}

.nav-phone:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
}

.hero {
    padding: 92px 0 56px;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.1;
    margin-bottom: 14px;
    max-width: 16ch;
}

.hero-text p {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--ink-soft);
    max-width: 52ch;
    margin-bottom: 20px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.65);
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-card {
    background: linear-gradient(150deg, #fff5e6 0%, #fffefb 100%);
    border: 1px solid #e7dcc9;
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow);
    animation: floatIn 0.6s ease;
}

.hero-card .line {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #dbcdb7;
    font-weight: 500;
}

.hero-card .line:last-child {
    border-bottom: 0;
}

.hero-card strong {
    font-family: 'Sora', sans-serif;
}

.services {
    padding: 20px 0 30px;
}

.section-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    margin-bottom: 18px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.card {
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    box-shadow: 0 10px 24px rgba(51, 65, 85, 0.08);
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 16px 30px rgba(20, 28, 41, 0.13);
}

.card i {
    color: var(--accent);
    font-size: 1.9rem;
    margin-bottom: 12px;
    display: inline-block;
}

.card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.card p {
    color: var(--ink-soft);
}

.gallery-section {
    padding: 18px 0 44px;
}

.gallery-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.gallery-note {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.viewer {
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow);
    padding: 14px;
}

.viewer-stage {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e9e2d5;
    background: linear-gradient(140deg, #f6f1e7 0%, #faf7f0 100%);
}

.viewer-stage img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    cursor: zoom-in;
}

.viewer-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(17, 24, 39, 0.62);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: var(--transition);
}

.viewer-btn:hover {
    background: rgba(17, 24, 39, 0.82);
}

.viewer-btn.prev {
    left: 12px;
}

.viewer-btn.next {
    right: 12px;
}

.viewer-caption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    color: #fff;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.84), rgba(15, 23, 42, 0.42));
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.95rem;
    font-weight: 600;
}

.thumbs {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.thumb {
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    opacity: 0.74;
    transition: var(--transition);
    padding: 0;
}

.thumb img {
    width: 100%;
    height: 74px;
    display: block;
    object-fit: cover;
}

.thumb.active {
    border-color: var(--accent);
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(222, 122, 47, 0.2);
}

.thumb:hover {
    opacity: 1;
}

.viewer-tip {
    margin-top: 10px;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.92);
    z-index: 120;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox.open {
    display: flex;
}

.lightbox-inner {
    width: min(1200px, 96vw);
    max-height: 92vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 12px;
}

.lightbox-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.lightbox-tool,
.lightbox-close,
.lightbox-nav {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: var(--transition);
}

.lightbox-tool:hover,
.lightbox-close:hover,
.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.22);
}

.lightbox-stage {
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(2, 6, 23, 0.35);
    overflow: hidden;
    min-height: 320px;
    display: grid;
    place-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    transform-origin: center center;
    transition: transform 160ms ease;
    cursor: zoom-in;
}

.lightbox-image.zoomed {
    cursor: zoom-out;
}

.lightbox-nav.prev {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-nav.next {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-caption {
    color: #e2e8f0;
    text-align: center;
    font-weight: 600;
}

.contact-section {
    padding: 60px 0 44px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 22px;
}

.contact-info,
.contact-form {
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow);
    padding: 28px;
}

.contact-info p {
    margin-top: 10px;
    font-size: 1.05rem;
}

.contact-info i {
    width: 24px;
    color: var(--accent);
}

.quote-highlight {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #e8c896;
    background: linear-gradient(135deg, #fff4de, #ffe9c6);
    color: #5f330b;
    font-weight: 700;
    line-height: 1.45;
}

.quote-highlight i {
    color: #b25a1a;
    margin-right: 6px;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

input,
textarea {
    width: 100%;
    padding: 13px 14px;
    margin-bottom: 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fffdf9;
    color: var(--ink);
    outline: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(222, 122, 47, 0.18);
}

.btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #1c1303;
    padding: 14px 22px;
    border: 0;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    transition: transform var(--transition), filter var(--transition), opacity var(--transition);
}

.btn:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: saturate(1.08);
}

.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

#status {
    margin-top: 8px;
    font-weight: 700;
    min-height: 24px;
}

.disclaimer {
    color: var(--ink-soft);
    font-size: 0.78rem;
    display: block;
    margin-top: 8px;
}

.disclaimer a {
    color: #8a4610;
}

.captcha-wrap {
    margin-bottom: 12px;
}

.map-box {
    height: 390px;
    border-radius: 24px;
    overflow: hidden;
    margin: 12px 0 80px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: sepia(0.15) contrast(1.03) saturate(0.85);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--ink) 0%, rgba(15, 23, 42, 0.95) 100%);
    color: #e2e8f0;
    padding: 60px 0 20px;
    margin-top: 80px;
    border-top: 1px solid rgba(222, 122, 47, 0.2);
}

.footer .container {
    width: min(1140px, 92%);
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #fff;
}

.footer-section h4 {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 700;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-contact {
    margin-top: 16px;
}

.footer-contact p {
    margin-bottom: 6px;
}

.footer-contact a {
    color: var(--accent-2);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-section ul a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-section ul a:hover {
    color: var(--accent-2);
}

.footer-bottom {
    border-top: 1px solid rgba(222, 122, 47, 0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

.footer-bottom a {
    color: var(--accent-2);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: #fff;
}

/* Animations */
@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: floatIn 0.55s ease both;
}

.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.14s; }

/* reCAPTCHA badge */
.grecaptcha-badge { visibility: hidden; }

/* Media Queries */
@media (max-width: 940px) {
    .hero,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .thumbs {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero {
        padding-top: 68px;
    }

    .footer-content {
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .nav-phone {
        display: none;
    }

    .input-row {
        grid-template-columns: 1fr;
    }

    .hero-card,
    .contact-info,
    .contact-form {
        padding: 20px;
        border-radius: 18px;
    }

    .viewer {
        padding: 10px;
    }

    .viewer-btn {
        width: 38px;
        height: 38px;
    }

    .map-box {
        height: 320px;
        margin: 12px 0 40px;
    }

    .lightbox {
        padding: 12px;
    }

    .lightbox-nav.prev {
        left: 8px;
    }

    .lightbox-nav.next {
        right: 8px;
    }

    .footer {
        padding: 40px 0 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .thumbs {
        grid-template-columns: repeat(2, 1fr);
    }
}
