:root {
    --bg: #f7f2ed;
    --surface: rgba(255, 255, 255, 0.74);
    --surface-strong: #fffdfb;
    --text: #241c18;
    --muted: #6b5a52;
    --line: rgba(138, 93, 79, 0.14);
    --brand: #8a5d4f;
    --brand-deep: #6f473c;
    --accent: #c88a4e;
    --shadow-soft: 0 20px 60px rgba(70, 39, 27, 0.10);
    --shadow-luxe: 0 36px 120px rgba(70, 39, 27, 0.18);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(205, 173, 145, 0.30), transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.65), transparent 22%),
        linear-gradient(180deg, #f7f1ea 0%, #f5efe8 36%, #f8f4ef 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(circle at center, black 18%, transparent 78%);
    opacity: 0.18;
}

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

section[id] {
    scroll-margin-top: 110px;
}

.site-chrome {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% 14%, rgba(200, 138, 78, 0.14), transparent 16%),
        radial-gradient(circle at 88% 70%, rgba(138, 93, 79, 0.08), transparent 20%);
    z-index: 0;
}

.header-shell {
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(22px);
}

#site-header.scrolled .header-shell {
    background: rgba(255, 253, 251, 0.92);
    border-color: rgba(138, 93, 79, 0.10);
}

.brand-mark {
    background: linear-gradient(135deg, #a97462 0%, #8a5d4f 55%, #6f473c 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 16px 28px rgba(138, 93, 79, 0.24);
}

.nav-link {
    position: relative;
    color: rgba(36, 28, 24, 0.75);
    font-size: 0.95rem;
    font-weight: 700;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.45rem;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(138, 93, 79, 0.08), rgba(138, 93, 79, 0.92), rgba(200, 138, 78, 0.75));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-deep);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.mobile-panel-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: rgba(248, 243, 238, 0.85);
    color: var(--text);
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease;
}

.mobile-panel-link:hover {
    background: rgba(245, 235, 228, 1);
    transform: translateX(4px);
}

.hero-blur {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    opacity: 0.92;
}

.hero-blur-one {
    left: -5rem;
    top: 5rem;
    width: 18rem;
    height: 18rem;
    background: radial-gradient(circle, rgba(206, 155, 120, 0.36), rgba(206, 155, 120, 0));
}

.hero-blur-two {
    right: 1rem;
    top: 8rem;
    width: 16rem;
    height: 16rem;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0));
}

.hero-card-main {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-card-overlay {
    background:
        linear-gradient(180deg, rgba(23, 17, 14, 0.02) 0%, rgba(23, 17, 14, 0.58) 100%),
        linear-gradient(135deg, rgba(111, 71, 60, 0.15), rgba(200, 138, 78, 0.12));
}

.hero-floating-card {
    position: absolute;
    max-width: 15rem;
    border: 1px solid rgba(255, 255, 255, 0.76);
    background: rgba(255, 253, 251, 0.82);
    padding: 1.15rem 1.15rem 1rem;
    border-radius: 1.6rem;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.hero-floating-left {
    left: -2.2rem;
    bottom: 2rem;
}

.hero-floating-right {
    right: -1.6rem;
    top: 2.2rem;
}

.stat-chip {
    display: grid;
    gap: 0.25rem;
    padding: 1rem 1.15rem;
    border-radius: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

.stat-chip strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    line-height: 1;
    color: var(--brand-deep);
}

.stat-chip span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--muted);
}

.feature-panel,
.aside-panel,
.process-intro,
.contact-form-panel,
.contact-info-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 2rem;
    box-shadow: var(--shadow-soft);
}

.feature-panel,
.aside-panel,
.process-intro,
.contact-form-panel {
    background: rgba(255, 253, 251, 0.72);
    backdrop-filter: blur(18px);
}

.feature-panel {
    display: grid;
    gap: 2rem;
    padding: 2rem;
}

.aside-panel {
    padding: 2rem;
}

.mini-detail-card {
    display: grid;
    gap: 0.55rem;
    padding: 1.15rem;
    border-radius: 1.4rem;
    background: rgba(248, 243, 238, 0.9);
    border: 1px solid rgba(138, 93, 79, 0.08);
}

.mini-detail-card strong,
.timeline-card h3,
.service-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text);
}

.mini-detail-card span,
.timeline-card p,
.service-card p,
.quote-card span,
.contact-detail span,
.faq-content p {
    color: var(--muted);
    line-height: 1.75;
}

.section-pad {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section-heading {
    display: grid;
    gap: 0.9rem;
    justify-items: center;
    text-align: center;
}

.eyebrow {
    margin: 0;
    color: var(--brand);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.section-title {
    margin: 0;
    max-width: 16ch;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    line-height: 0.98;
    color: var(--text);
    text-wrap: balance;
}

.section-copy {
    margin: 0;
    max-width: 44rem;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.9;
}

.service-card,
.timeline-card,
.quote-card,
.faq-item {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.76);
    background: rgba(255, 253, 251, 0.78);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
}

.service-card {
    display: grid;
    gap: 1rem;
    padding: 2rem;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card:hover,
.quote-card:hover,
.timeline-card:hover,
.concept-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-luxe);
}

.service-card.emphasized {
    background: linear-gradient(180deg, rgba(255, 248, 240, 0.95), rgba(255, 253, 251, 0.76));
    border-color: rgba(200, 138, 78, 0.24);
}

.service-icon {
    display: inline-flex;
    width: 3.75rem;
    height: 3.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 1.25rem;
    color: var(--brand-deep);
    background: linear-gradient(135deg, rgba(245, 231, 219, 0.95), rgba(255, 255, 255, 0.8));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.service-icon svg {
    width: 1.85rem;
    height: 1.85rem;
}

.service-label,
.concept-tag {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--brand);
}

.service-points {
    display: grid;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-points li {
    position: relative;
    padding-left: 1.3rem;
    color: var(--text);
    font-weight: 700;
}

.service-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--accent));
}

.process-intro {
    padding: 2rem;
}

.timeline-card {
    padding: 1.6rem;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.timeline-card span {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(138, 93, 79, 0.08);
    color: var(--brand-deep);
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.concept-card {
    position: relative;
    overflow: hidden;
    min-height: 21rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.concept-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.concept-card:hover img {
    transform: scale(1.06);
}

.concept-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.65rem;
    padding: 1.6rem;
    color: #fff;
    background: linear-gradient(180deg, rgba(20, 16, 14, 0.04), rgba(20, 16, 14, 0.72) 86%);
}

.concept-overlay h3 {
    margin: 0;
    max-width: 18rem;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    line-height: 1;
}

.concept-overlay .concept-tag {
    color: rgba(255, 246, 236, 0.86);
}

.gallery-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.gallery-card {
    position: relative;
    grid-column: span 4;
    overflow: hidden;
    min-height: 30rem;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 2rem;
    background: rgba(255, 253, 251, 0.84);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-luxe);
}

.gallery-card-featured {
    grid-column: span 8;
}

.gallery-media,
.gallery-media img {
    width: 100%;
    height: 100%;
}

.gallery-media img {
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.gallery-copy {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    display: grid;
    gap: 0.7rem;
    padding: 1.5rem;
    background:
        linear-gradient(180deg, rgba(22, 15, 12, 0) 0%, rgba(22, 15, 12, 0.74) 58%, rgba(22, 15, 12, 0.92) 100%);
}

.gallery-kicker {
    margin: 0;
    color: rgba(255, 238, 225, 0.78);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.gallery-copy h3 {
    margin: 0;
    color: #fff8f3;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 3.4vw, 3.2rem);
    line-height: 0.92;
}

.gallery-copy p:last-child {
    margin: 0;
    max-width: 38rem;
    color: rgba(255, 245, 238, 0.86);
    line-height: 1.8;
}

.quote-card {
    display: grid;
    gap: 1.6rem;
    padding: 2rem;
    min-height: 17rem;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.quote-card::before {
    content: '"';
    position: absolute;
    right: 1.4rem;
    top: 0.2rem;
    font-family: "Cormorant Garamond", serif;
    font-size: 7rem;
    line-height: 1;
    color: rgba(138, 93, 79, 0.08);
}

.quote-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.8rem;
    line-height: 1.18;
    color: var(--text);
}

.quote-card strong,
.contact-detail strong {
    display: block;
    color: var(--text);
    font-weight: 800;
}

.quote-card.featured {
    background: linear-gradient(180deg, rgba(138, 93, 79, 0.92), rgba(111, 71, 60, 0.98));
}

.quote-card.featured::before,
.quote-card.featured p,
.quote-card.featured strong,
.quote-card.featured span {
    color: white;
}

.quote-card.featured span {
    color: rgba(255, 255, 255, 0.72);
}

.faq-item {
    padding: 0.45rem;
}

.faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 0;
    background: transparent;
    padding: 1.1rem 1.15rem;
    color: var(--text);
    font-size: 1rem;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.faq-plus {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(138, 93, 79, 0.08);
    color: var(--brand-deep);
    font-size: 1.2rem;
    transition: transform 0.25s ease;
}

.faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.28s ease;
}

.faq-content p {
    overflow: hidden;
    margin: 0;
    padding: 0 1.15rem 0;
}

.faq-item.open .faq-content {
    grid-template-rows: 1fr;
}

.faq-item.open .faq-content p {
    padding-bottom: 1rem;
}

.faq-item.open .faq-plus {
    transform: rotate(45deg);
}

.contact-info-panel {
    padding: 2rem;
    background:
        radial-gradient(circle at top right, rgba(229, 190, 150, 0.24), transparent 26%),
        linear-gradient(180deg, rgba(126, 84, 68, 0.92), rgba(88, 57, 46, 0.96));
}

.contact-form-panel {
    padding: 2rem;
}

.contact-detail {
    display: block;
    padding: 1rem 1.1rem;
    border-radius: 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.12);
    transition: transform 0.24s ease, background 0.24s ease;
}

.contact-detail:hover {
    transform: translateX(6px);
    background: rgba(255, 255, 255, 0.18);
}

.contact-info-panel .eyebrow {
    color: rgba(255, 241, 231, 0.82);
}

.contact-info-panel .section-title {
    text-shadow: 0 2px 10px rgba(22, 12, 9, 0.16);
}

.contact-info-panel p.text-white\/78 {
    color: rgba(255, 246, 239, 0.88) !important;
}

.contact-detail span {
    color: rgba(255, 239, 230, 0.78);
}

.contact-detail strong {
    color: #fffaf6;
}

.field {
    display: grid;
    gap: 0.55rem;
}

.field span {
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid rgba(138, 93, 79, 0.14);
    border-radius: 1.1rem;
    background: rgba(251, 248, 244, 0.96);
    padding: 1rem 1rem;
    color: var(--text);
    font: inherit;
    transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
    appearance: none;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #8e7b72;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: rgba(138, 93, 79, 0.45);
    transform: translateY(-1px);
    box-shadow: 0 0 0 4px rgba(138, 93, 79, 0.08);
}

.footer-link {
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--brand-deep);
}

.floating-socials {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 58;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.floating-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.95rem 1.1rem;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #28c76f 0%, #17a34a 100%);
    box-shadow: 0 22px 50px rgba(23, 163, 74, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.24);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.floating-social-link:hover {
    transform: translateY(-3px);
    filter: saturate(1.04);
}

.floating-instagram {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 48%, #8134af 100%);
    box-shadow: 0 22px 50px rgba(171, 49, 128, 0.28);
}

.floating-instagram:hover {
    box-shadow: 0 28px 56px rgba(171, 49, 128, 0.32);
}

.floating-whatsapp {
    background: linear-gradient(135deg, #28c76f 0%, #17a34a 100%);
    box-shadow: 0 22px 50px rgba(23, 163, 74, 0.28);
}

.floating-whatsapp:hover {
    box-shadow: 0 28px 56px rgba(23, 163, 74, 0.32);
}

.floating-social-link i {
    font-size: 1.5rem;
    line-height: 1;
    flex: 0 0 auto;
}

.floating-social-link span {
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.mobile-bottom-dock {
    position: fixed;
    left: 50%;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
    width: min(calc(100% - 1.25rem), 28rem);
    padding: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 1.8rem;
    background: rgba(255, 253, 251, 0.9);
    backdrop-filter: blur(24px);
    box-shadow: 0 24px 80px rgba(44, 28, 20, 0.20);
}

.dock-link {
    display: grid;
    justify-items: center;
    gap: 0.3rem;
    padding: 0.75rem 0.35rem;
    border-radius: 1.25rem;
    color: rgba(36, 28, 24, 0.6);
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.02em;
    transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.dock-link svg {
    width: 1.2rem;
    height: 1.2rem;
}

.dock-link.active {
    color: var(--brand-deep);
    background: rgba(138, 93, 79, 0.10);
    transform: translateY(-2px);
}

::-webkit-scrollbar {
    width: 11px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.5);
}

::-webkit-scrollbar-thumb {
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: linear-gradient(180deg, rgba(200, 138, 78, 0.85), rgba(138, 93, 79, 0.95));
}

@media (max-width: 1023px) {
    .hero-floating-left,
    .hero-floating-right {
        position: static;
        max-width: none;
        margin-top: 1rem;
    }

    .gallery-card,
    .gallery-card-featured {
        grid-column: span 6;
    }
}

@media (max-width: 767px) {
    body {
        padding-bottom: 5.8rem;
    }

    .floating-socials {
        right: 1rem;
        bottom: calc(6.3rem + env(safe-area-inset-bottom));
    }

    .floating-social-link {
        padding: 0.95rem;
        border-radius: 1.25rem;
    }

    .floating-social-link span {
        display: none;
    }

    .section-pad {
        padding-top: 4.1rem;
        padding-bottom: 4.1rem;
    }

    .feature-panel,
    .aside-panel,
    .process-intro,
    .contact-form-panel,
    .contact-info-panel {
        border-radius: 1.7rem;
    }

    .service-card,
    .timeline-card,
    .quote-card,
    .concept-card,
    .gallery-card {
        border-radius: 1.7rem;
    }

    .quote-card p {
        font-size: 1.55rem;
    }

    .concept-card,
    .gallery-card,
    .gallery-card-featured {
        grid-column: span 12;
        min-height: 18rem;
    }

    .gallery-copy {
        padding: 1.25rem;
    }

    .gallery-copy h3 {
        font-size: 2.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}
