:root {
    --matias-primary: #D3AF37;
    --matias-primary-hover: #500404;
    --matias-primary-dark: #6B0505;
    --matias-dark: #0a0a0a;
    --matias-dark-light: #171717;
    --matias-gray-dark: #2a0808f2;
    --matias-gray: #737373;
    --matias-gray-light: #e5e5e5;
    --matias-bg-light: #fafaf9;
    --matias-bg-alt: #f5f5f4;
    --matias-white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

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

body {
    background-color: var(--matias-white);
    color: var(--matias-dark);
    font-family: "Kanit", sans-serif;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body * {
    font-family: "Kanit", sans-serif;
}

input,
button,
select,
textarea {
    font: inherit;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

a,
button,
.matias-btn,
.gallery-item,
.feature-box,
.highlight-card,
.fp-main-card,
.facility-card,
.loc-group {
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    transition: 0.3s;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.block {
    display: block;
}

.section-tag {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--matias-primary-dark);
}

.section-tag.tag-yellow {
    color: var(--matias-primary);
}

.section-title {
    font-weight: 700;
    margin-top: 0.75rem;
    line-height: 1.2;
    color: inherit;
}

.section-desc {
    color: var(--matias-gray-dark);
    margin-top: 1.25rem;
}

.text-white {
    color: var(--matias-white);
}

.text-black {
    color: var(--matias-dark);
}

.text-light {
    color: rgba(255, 255, 255, 0.7) !important;
}

.matias-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.75rem 1rem;
    border-radius: 9999px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    line-height: 1.5 !important;
    position: relative;
    overflow: hidden;
}

.matias-btn::after {
    content: "";
    position: absolute;
    top: -120%;
    left: -30%;
    width: 45%;
    height: 320%;
    background: linear-gradient(110deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0));
    transform: rotate(18deg);
    transition: left 0.55s ease;
    pointer-events: none;
}

.matias-btn:hover::after {
    left: 120%;
}

.matias-btn:active {
    transform: translateY(1px) scale(0.99);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    filter: saturate(0.96);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: saturate(1);
}

.matias-btn-outline {
    border: 1px solid var(--matias-gray-light);
}

.matias-btn-outline:hover {
    border-color: var(--matias-primary-dark);
    color: var(--matias-primary-dark);
}

.matias-btn-solid {
    background: var(--matias-dark) !important;
    color: var(--matias-white) !important;
}

.matias-btn-solid:hover {
    background: var(--matias-primary-dark) !important;
}

.matias-btn-primary {
    background-color: var(--matias-primary-dark) !important;
    color: var(--matias-white) !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.matias-btn-primary:hover {
    background-color: var(--matias-primary-hover) !important;
}

.matias-btn-glass {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--matias-white) !important;
    backdrop-filter: blur(12px);
    padding: 1rem 2rem;
    font-weight: 700;
}

.matias-btn-glass:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.matias-btn-outline-white {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--matias-white) !important;
    padding: 1rem 2rem;
    font-weight: 700;
}

.matias-btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.matias-navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    z-index: 9999 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--matias-gray-light);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.matias-navbar.show-navbar {
    transform: translateY(0);
    opacity: 1;
}

.matias-navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo-area img { max-height: 40px; transition: transform 0.3s ease; }
.logo-area img:hover { transform: scale(1.05); }
.nav-links { display: none; gap: 2rem; font-size: 0.875rem; font-weight: 500; color: var(--matias-gray-dark) !important; align-items: center; }
.nav-links a:hover { color: var(--matias-primary-dark) !important; }
.matias-navbar-actions { display: none; gap: 0.75rem; }
@media (min-width: 768px) { .nav-links, .matias-navbar-actions { display: flex; } }

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    padding-top: clamp(80px, 10vh, 130px);
    color: var(--matias-white);
    margin-top: -50px;
    display: flex;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
}

#hero-slide-1 { background-image: url('https://akralandandhouse.com/wp-content/uploads/2026/06/Chatgpt-image-ทางเข้า.webp'); }
#hero-slide-2 { background-image: url('https://akralandandhouse.com/wp-content/uploads/2026/05/01-living-dinning-12-1.webp'); }
#hero-slide-3 { background-image: url('https://akralandandhouse.com/wp-content/uploads/2026/05/04-family-area-2.webp'); }

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
    z-index: 2;
}

.hero-content {
    position: relative;
    width: 100%;
    z-index: 3;
}

.hero-text-box {
    width: 100%;
}

.hero-text-box > * {
    animation: matiasFadeRise 0.9s ease both;
}

.hero-text-box > *:nth-child(2) { animation-delay: 0.1s; }
.hero-text-box > *:nth-child(3) { animation-delay: 0.2s; }
.hero-text-box > *:nth-child(4) { animation-delay: 0.3s; }
.hero-text-box > *:nth-child(5) { animation-delay: 0.4s; }

.hero-title {
    font-weight: bold;
    line-height: 1.1;
    color: var(--matias-white);
}

.hero-desc {
    color: rgba(255, 255, 255, 0.85);
    margin-top: 1rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-stats {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 01rem;
    border-radius: 1rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--matias-white);
}

.stat-value {
    font-weight: bold;
    color: var(--matias-primary);
    margin-top: 0.25rem;
}

@media (max-width: 767px) {
    #hero-slide-1 { background-image: url('https://akralandandhouse.com/wp-content/uploads/2026/06/Chatgpt-image-ทางเข้า.webp'); }
    #hero-slide-2 { background-image: url('https://akralandandhouse.com/wp-content/uploads/2026/06/Dsc08100-edit-copy.webp'); }
    #hero-slide-3 { background-image: url('https://akralandandhouse.com/wp-content/uploads/2026/06/01-living-dinning-2-scaled.webp'); }

    .hero {
        align-items: flex-end;
        padding-top: 60px;
    }

    .hero-slide {
        background-attachment: scroll;
    }

    .hero-overlay {
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.1) 100%);
    }

    .hero-content {
        padding-bottom: 8dvh;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        text-align: center;
    }

    .hero-text-box {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        word-break: break-word;
        text-shadow: 0 2px 8px rgba(0,0,0,0.8);
        font-size: 1.3rem;
    }

    .hero-desc {
        max-width: 100%;
        word-break: break-word;
        text-shadow: 0 2px 8px rgba(0,0,0,0.8);
        font-size: 0.7rem;
    }

    .hero-stats {
        display: none;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 0.5rem;
        padding-bottom: 1dvh;
    }

    .hero-buttons .matias-btn {
        width: auto;
        display: inline-flex;
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
        line-height: 1.2;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .hero {
        align-items: center;
        padding-top: 100px;
    }

    .hero-content {
        padding-left: 40px;
        padding-right: 40px;
    }

    .hero-text-box {
        max-width: 80%;
    }

    .hero-desc {
        max-width: 100%;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .hero-title {
        font-size: clamp(2rem, 4vw, 2.5rem);
    }

    .hero-desc {
        font-size: clamp(1rem, 2vw, 1.15rem);
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .stat-value {
        font-size: 1.1rem;
    }

    .matias-btn {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
}

@media (min-width: 1025px) {
    .hero {
        align-items: center;
        padding-top: 130px;
    }

    .hero-slide {
        background-attachment: relative;
    }

    .hero-content {
        padding-bottom: 4rem;
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-text-box {
        max-width: 48rem;
    }

    .hero-desc {
        max-width: 42rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        max-width: 42rem;
    }

    .hero-buttons {
        flex-direction: row;
        margin-bottom: 0;
    }

    .hero-title {
        font-size: clamp(2rem, 3vw, 3rem);
    }

    .hero-desc {
        font-size: clamp(1rem, 1.5vw, 1.2rem);
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .stat-value {
        font-size: 1rem;
    }

    .matias-btn {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
}

.highlights {
    position: relative;
    background: var(--matias-white) !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

.highlight-grid {
    margin-top: clamp(-64px, -5vw, -40px);
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: var(--matias-white) !important;
    box-shadow: 0 25px 30px -12px rgba(0, 0, 0, 0.1);
    gap: clamp(0.5rem, 2vw, 1rem);
    padding: clamp(0.75rem, 2.5vw, 1.25rem);
    border-radius: clamp(1.5rem, 3vw, 2rem);
}

.container-highlight {
    display: flex;
    justify-content: center;
    align-items: center;
}

.highlight-card {
    background: var(--matias-bg-light) !important;
    border: 1px solid var(--matias-bg-alt);
    padding: clamp(0.75rem, 2.5vw, 1.75rem);
    border-radius: clamp(1rem, 2vw, 1.5rem);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.14);
}

.highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--matias-white) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    color: var(--matias-primary-hover) !important;
    width: clamp(2.5rem, 6vw, 4.5rem);
    height: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: clamp(0.5rem, 2vw, 1.25rem);
}

.highlight-icon svg {
    color: var(--matias-primary-dark) !important;
    margin: 0 auto;
    display: block;
    width: clamp(1.5rem, 4vw, 2.75rem);
    height: clamp(1.5rem, 4vw, 2.75rem);
}

#highlights .highlight-label {
    color: var(--matias-gray) !important;
}

#highlights .highlight-value {
    font-weight: bold;
    color: var(--matias-dark) !important;
}

@media (max-width: 767px) {
    .container-highlight {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .highlight-grid {
        width: 80vw;
    }

    .highlight-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0rem;
        padding: 0.5rem 0.2rem !important;
        text-align: center;
    }

    .highlight-icon {
        margin-bottom: 0.5rem !important;
        width: 2rem !important;
        height: 2rem !important;
    }

    .highlight-icon svg {
        width: 1rem !important;
        height: 1rem !important;
    }

    #highlights .highlight-label {
        font-size: 0.7rem;
        margin-bottom: 0.1rem;
    }

    #highlights .highlight-value {
        font-size: 0.9rem;
        margin-top: 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .highlight-grid {
        width: 90vw;
        grid-template-columns: repeat(4, 1fr);
    }

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

    .highlight-icon {
        display: inline-flex;
        align-items: center;
    }

    #highlights .highlight-label {
        font-size: 0.7rem;
    }

    #highlights .highlight-value {
        font-size: 1rem;
        margin-top: 0.25rem;
    }
}

@media (min-width: 1025px) {
    .highlight-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    #highlights .highlight-label {
        font-size: 0.9rem;
    }

    #highlights .highlight-value {
        font-size: 1.2rem;
        margin-top: 0.35rem;
    }

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

    .highlight-icon {
        display: inline-flex;
        align-items: center;
    }
}

.detail-section {
    padding: 3rem;
    background: var(--matias-white) !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    overflow-x: hidden;
}

.detail-layout {
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.5rem);
}

.section-tag {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--matias-primary-dark);
}

.section-title {
    color: var(--matias-dark) !important;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--matias-primary-hover) !important;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 700px;
}

.row-label {
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7) !important;
}

.row-value {
    color: #ffffff !important;
}

.feature-box h3 {
    font-weight: bold;
    color: var(--matias-primary-dark) !important;
    transition: color 0.3s ease !important;
    margin-bottom: 0.75rem;
}

.feature-box p {
    color: var(--matias-dark) !important;
    margin-top: 0.75rem;
    transition: color 0.3s ease !important;
    line-height: 1.6;
}

.detail-table {
    margin-top: 2rem;
    background: var(--matias-primary-dark);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15), inset 0 0 30px 15px rgba(0, 0, 0, 0.4) !important;
    padding: 2.5rem;
    border-radius: 2rem;
}

.table-row {
    display: grid;
    gap: 0.1rem;
    padding: 0.8rem;
    border-bottom: none !important;
}

.detail-visuals {
    display: grid;
    gap: 1.5rem;
}

.detail-main-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    max-height: 500px;
    border-radius: 2rem !important;
    display: block;
    transition: transform 0.55s ease, box-shadow 0.55s ease;
}

.detail-main-img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-boxes {
    display: grid;
    gap: 1rem;
}

.feature-box {
    background: var(--matias-white) !important;
    border: 1px solid rgba(42, 8, 8, 0.15) !important;
    transition: 0.3s ease !important;
    padding: 1.5rem;
    border-radius: 2rem !important;
    box-shadow: 0 10px 20px rgba(42, 8, 8, 0.05), inset 0 0 20px 5px rgba(42, 8, 8, 0.5) !important;
}

.detail-table:hover {
    background: var(--matias-primary-hover);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.25), inset 0 0 40px 15px rgba(0, 0, 0, 0.3) !important;
}

.feature-box:hover {
    background: #2a0808f2 !important;
    transform: translateY(-5px);
    border-color: #2a0808f2 !important;
    box-shadow: 0 15px 30px rgba(42, 8, 8, 0.25) !important;
}

.feature-box:hover h3 {
    color: var(--matias-white) !important;
}

.feature-box:hover p {
    color: rgba(255, 255, 255, 0.8) !important;
}

@media (max-width: 767px) {
    .detail-section {
        padding: 2rem 1rem !important;
    }

    .detail-layout {
        gap: 0.5rem !important;
    }

    .detail-info {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .section-desc {
        margin: 0.5rem 0 0.5rem 0 !important;
    }

    .section-desc br {
        display: none;
    }

    .detail-table {
        text-align: left;
        margin: 0.5rem 0.5rem !important;
        padding: 0.5rem 1rem 0.5rem 2rem !important;
        width: 100%;
    }

    .table-row {
        gap: 1rem;
        line-height: 0.1;
        padding: 1rem 0.5rem 0.5rem 0rem;
        margin: 0rem 0rem 0.2rem 0rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .detail-visuals {
        gap: 1rem;
        padding: 0;
    }

    .detail-main-img {
        padding: 0 !important;
        border-radius: 1.5rem !important;
    }

    .feature-boxes {
        display: grid;
        gap: 0.5rem;
    }

    .feature-box {
        padding: 1.25rem;
        border-radius: 1.5rem !important;
    }

    #detail .section-tag { font-size: 0.75rem; }
    #detail .section-title h2 { font-size: 1.3rem; }
    #detail .section-desc { font-size: 0.7rem; }
    #detail .row-label { font-size: 0.6rem; }
    #detail .row-value { font-size: 0.7rem; }
    #detail .feature-box h3 { font-size: 0.8rem; }
    #detail .feature-box p { font-size: 0.7rem; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .detail-section {
        padding: 2rem 1rem !important;
    }

    .detail-layout { gap: 1rem; width: 80%; }
    .detail-info { text-align: center; display: flex; flex-direction: column; align-items: center; width: 100%; }
    .section-desc { margin-left: auto; margin-right: auto; }
    .section-desc br { display: none; }

    .detail-table {
        text-align: left;
        margin: 0.5rem 0 !important;
        padding: 0.5rem 1rem 0.5rem 2rem !important;
        border-radius: 1.5rem !important;
        width: 100%;
    }

    .table-row { gap: 0.1rem; padding: 0.5rem; }
    .detail-visuals { gap: 1rem; }
    .feature-boxes { display: grid; gap: 0.5rem; }
    .feature-box { padding: 1rem; border-radius: 1.5rem !important; }
    .detail-main-img { border-radius: 1.5rem !important; }

    #detail .section-tag { font-size: 0.7rem; }
    #detail .section-title { font-size: 1.5rem; }
    #detail .section-desc { font-size: 1rem; }
    #detail .row-label { font-size: 0.8rem; }
    #detail .row-value { font-size: 0.9rem; }
    #detail .feature-box h3 { font-size: 0.9rem; }
    #detail .feature-box p { font-size: 0.8rem; }
}

@media (min-width: 1025px) {
    .detail-layout { grid-template-columns: 0.95fr 1.05fr; }
    .table-row { grid-template-columns: 180px 1fr; }
    .feature-boxes { grid-template-columns: repeat(3, 1fr); }

    #detail .section-tag { font-size: 0.8rem; }
    #detail .section-title { font-size: 1.5rem; }
    #detail .section-desc { font-size: 1rem; }
    #detail .row-label { font-size: 0.9rem; }
    #detail .row-value { font-size: 1rem; }
    #detail .feature-box h3 { font-size: 0.9rem; }
    #detail .feature-box p { font-size: 0.8rem; }
}

.regis-section {
    padding: 3rem 0;
    background: var(--matias-white) !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    overflow-x: hidden;
}

.regis-form-box {
    background: var(--matias-white) !important;
    padding: clamp(1.5rem, 5vw, 3rem) !important;
    border-radius: 2rem !important;
    box-shadow: 0 25px 30px -12px rgba(0,0,0,0.2) !important;
    width: 60%;
    margin: 0 auto !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.regis-form-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 44px -16px rgba(0, 0, 0, 0.24) !important;
}

.form-header {
    text-align: center !important;
    margin-bottom: 2rem !important;
}

.form-header h3 { margin-top: 0; }

.form-header p {
    color: var(--matias-gray) !important;
    margin-top: 0.5rem;
}

.regis-notes {
    color: #a3a3a3;
    text-align: center;
    margin-top: 1.5rem;
    display: block;
}

.matias-register-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.matias-register-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.matias-register-form .matias-form-group {
    margin: 0;
}

.matias-register-form .matias-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.45rem;
    color: var(--matias-gray-dark);
}

.matias-register-form input,
.matias-register-form select,
.matias-register-form textarea {
    width: 100%;
    border: 1px solid var(--matias-gray-light);
    border-radius: 0.8rem;
    padding: 0.8rem 0.9rem;
    font: inherit;
    color: var(--matias-dark);
    background: var(--matias-white);
}

.matias-register-form textarea {
    min-height: 96px;
    resize: vertical;
}

.matias-register-form input:focus,
.matias-register-form select:focus,
.matias-register-form textarea:focus {
    border-color: var(--matias-primary-dark);
    box-shadow: 0 0 0 3px rgba(107, 5, 5, 0.12);
    outline: none;
}

.regis-consent-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--matias-gray-dark);
    font-size: 0.92rem;
    line-height: 1.5;
}

.regis-consent-row input {
    width: 18px;
    height: 18px;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.regis-submit-wrap {
    text-align: center;
}

.regis-submit-btn {
    min-width: 160px;
}

.regis-submit-btn.is-loading {
    opacity: 0.75;
    cursor: not-allowed;
}

.regis-status {
    display: none;
    border-radius: 0.75rem;
    padding: 0.7rem 0.9rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.regis-status.is-visible {
    display: block;
}

.regis-status.is-success {
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #abefc6;
}

.regis-status.is-error {
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca;
}

.fp-body .matias-register-grid {
    grid-template-columns: 1fr;
}

.fp-body .matias-register-form {
    gap: 0.9rem;
}

@media (max-width: 767px) {
    .regis-form-box { width: 100%; }
    .matias-register-grid { grid-template-columns: 1fr; }
    .regis-section .section-tag { font-size: 0.7rem !important; }
    .regis-section .form-header h3 { font-size: 1.3rem !important; }
    .regis-section .form-header p { font-size: 0.7rem !important; }
    .regis-section .regis-notes { font-size: 0.7rem !important; }
    .regis-section .matias-register-form .matias-form-group label { font-size: 0.7rem !important; }
    .regis-section .matias-register-form input,
    .regis-section .matias-register-form select,
    .regis-section .matias-register-form textarea { font-size: 0.75rem !important; }
    .regis-section .regis-consent-row { font-size: 0.7rem !important; }
    .regis-section .regis-submit-btn { font-size: 0.75rem !important; }
    .regis-section .regis-status { font-size: 0.7rem !important; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .regis-form-box { width: 80%; }
    .regis-section .section-tag { font-size: 0.7rem !important; }
    .regis-section .form-header h3 { font-size: 1.5rem !important; }
    .regis-section .form-header p { font-size: 0.9rem !important; }
    .regis-section .regis-notes { font-size: 0.8rem !important; }
    .regis-section .matias-register-form .matias-form-group label { font-size: 0.9rem !important; }
    .regis-section .matias-register-form input,
    .regis-section .matias-register-form select,
    .regis-section .matias-register-form textarea { font-size: 0.85rem !important; }
    .regis-section .regis-consent-row { font-size: 0.85rem !important; }
    .regis-section .regis-submit-btn { font-size: 0.8rem !important; }
    .regis-section .regis-status { font-size: 0.8rem !important; }
}

@media (min-width: 1025px) {
    .regis-section .section-tag { font-size: 0.8rem !important; }
    .regis-section .form-header h3 { font-size: 1.5rem !important; }
    .regis-section .form-header p { font-size: 1rem !important; }
    .regis-section .regis-notes { font-size: 0.8rem !important; }
    .regis-section .matias-register-form .matias-form-group label { font-size: 0.85rem !important; }
    .regis-section .matias-register-form input,
    .regis-section .matias-register-form select,
    .regis-section .matias-register-form textarea { font-size: 0.9rem !important; }
    .regis-section .regis-consent-row { font-size: 0.9rem !important; }
    .regis-section .regis-submit-btn { font-size: 0.85rem !important; }
    .regis-section .regis-status { font-size: 0.85rem !important; }
}

.why-section {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    overflow-x: hidden;
    background: var(--matias-white) !important;
    padding: 1rem 0rem 5rem 0rem !important;
}

.why-layout {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
    gap: 2rem !important;
    justify-content: center;
    align-items: center;
}

.why-content {
    position: relative;
    padding: 4rem 2rem 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #4a0000 0%, #8B0000 50%, #4a0000 100%);
    border-radius: 2rem;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.why-content:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 44px rgba(0, 0, 0, 0.42), 0 8px 20px rgba(0, 0, 0, 0.24);
}

.why-text-box {
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.why-heading {
    margin-bottom: 0.5rem;
}

.why-tag {
    position: absolute;
    top: 2rem;
    left: 2rem;
    color: var(--matias-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.why-heading h2 {
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.why-heading h3 {
    font-weight: 500;
    color: #ffffff !important;
    margin: 0;
}

.why-desc {
    line-height: 1.8;
    color: #ffffff !important;
    margin: 0;
    max-width: 550px;
}

.why-quote-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.5rem;
}

.quote-icon {
    font-family: "Kanit", sans-serif !important;
    font-weight: 900 !important;
    line-height: 0.8;
    color: #ffffff;
    height: 35px;
    display: inline-block;
}

.quote-text {
    font-weight: 700;
    color: #ffffff !important;
}

.why-image {
    width: 100%;
    min-height: 100%;
    background-color: #ffffff;
    border-radius: 2rem;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
}

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 767px) {
    .why-quote-box {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .why-layout {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 0 auto;
        gap: 2rem !important;
        justify-content: center;
        align-items: center;
    }

    .why-section { padding: 1rem 1rem 3rem 1rem !important; }
    .why-section .why-tag { font-size: 0.7rem !important; }
    .why-section .why-heading h2 { font-size: 1.5rem !important; }
    .why-section .why-heading h3 { font-size: 1.1rem !important; }
    .why-section .why-desc { font-size: 0.85rem !important; }
    .why-section .quote-icon { font-size: 2rem !important; }
    .why-section .quote-text { font-size: 0.8rem !important; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .why-layout {
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        gap: 2rem !important;
        justify-content: center;
        align-items: center;
    }

    .why-content { width: 100%; }
    .why-section { padding: 1rem 1rem 4rem 1rem !important; }
    .why-section .why-tag { font-size: 0.8rem !important; }
    .why-section .why-heading h2 { font-size: 1.5rem !important; }
    .why-section .why-heading h3 { font-size: 1.3rem !important; }
    .why-section .why-desc { font-size: 0.95rem !important; }
    .why-section .quote-icon { font-size: 2rem !important; }
    .why-section .quote-text { font-size: 1rem !important; }
}

@media (min-width: 1025px) {
    .why-section {
        padding: 5rem 5%;
    }

    .why-layout {
        flex-direction: row;
        min-height: 80vh;
        align-items: stretch;
        gap: 3rem;
    }

    .why-content {
        flex: 0 0 50%;
        padding: 6rem 4rem;
    }

    .why-tag {
        top: 3rem;
        left: 3rem;
    }

    .why-image {
        flex: 0 0 calc(50% - 3rem);
        min-height: auto;
    }

    .why-text-box {
        max-width: 95%;
    }

    .why-section .why-tag { font-size: 0.875rem !important; }
    .why-section .why-heading h2 { font-size: 2rem !important; }
    .why-section .why-heading h3 { font-size: 1.5rem !important; }
    .why-section .why-desc { font-size: 1rem !important; }
    .why-section .quote-icon { font-size: 2rem !important; }
    .why-section .quote-text { font-size: 1.1rem !important; }
}

.gallery-section {
    padding: 2rem 0;
    background: var(--matias-white) !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

.gallery-header {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 1rem;
}

.gallery-grid {
    display: grid;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    min-height: 240px;
    border-radius: 1.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 34px rgba(0, 0, 0, 0.2);
}

.hidden-gallery-item {
    display: none !important;
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent) !important;
    pointer-events: none;
}

.section-tag {
    font-weight: 600;
    color: var(--matias-primary-dark);
}

.section-title {
    color: var(--matias-dark);
    margin-top: 0.25rem;
    margin-bottom: 0;
}

.gallery-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.9) !important;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: bold;
    color: var(--matias-dark) !important;
    pointer-events: none;
}

.matias-lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(10px);
}

.matias-lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.matias-lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 100000;
}

.matias-lightbox-prev,
.matias-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-weight: bold;
    cursor: pointer;
    padding: 16px;
    transition: 0.3s;
    user-select: none;
    z-index: 100000;
}

.matias-lightbox-prev { left: 20px; }
.matias-lightbox-next { right: 20px; }

.matias-lightbox-close:hover,
.matias-lightbox-close:focus,
.matias-lightbox-prev:hover,
.matias-lightbox-next:hover {
    color: var(--matias-primary, #ccc);
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (max-width: 767px) {
    .gallery-grid { gap: 0.5rem; }
    .matias-lightbox-close { top: 10px; right: 20px; }
    .matias-lightbox-prev, .matias-lightbox-next { padding: 8px; }
    .matias-lightbox-prev { left: 10px; }
    .matias-lightbox-next { right: 10px; }

    .gallery-section .section-tag { font-size: 0.7rem !important; }
    .gallery-section .section-title { font-size: 1.3rem !important; }
    .gallery-section .gallery-label { font-size: 0.7rem !important; }
    .matias-lightbox-close { font-size: 30px !important; }
    .matias-lightbox-prev, .matias-lightbox-next { font-size: 25px !important; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .gallery-header {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 90%;
        margin: 0 auto;
        gap: 0.5rem;
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-section .section-tag { font-size: 0.7rem !important; }
    .gallery-section .section-title { font-size: 1.5rem !important; }
    .gallery-section .gallery-label { font-size: 0.7rem !important; }
    .matias-lightbox-close { font-size: 35px !important; }
    .matias-lightbox-prev, .matias-lightbox-next { font-size: 35px !important; }
}

@media (min-width: 1025px) {
    .gallery-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-section .section-tag { font-size: 0.8rem !important; }
    .gallery-section .section-title { font-size: 1.5rem !important; }
    .gallery-section .gallery-label { font-size: 0.8rem !important; }
    .matias-lightbox-close { font-size: 40px !important; }
    .matias-lightbox-prev, .matias-lightbox-next { font-size: 40px !important; }
}

.floorplan-section {
    padding: 1rem 0;
    background: var(--matias-white) !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

.fp-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.fp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.fp-tabs-container {
    display: flex;
    justify-content: flex-start;
    margin-bottom: -1px;
    z-index: 10;
    position: relative;
    padding-left: 0;
    margin-left: 250px;
}

.fp-tab {
    padding: 15px 40px 20px 40px;
    background: #e2e4e9;
    color: #000033;
    font-weight: 700;
    border-radius: 20px 20px 0 0;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    margin: 0 3px;
}

.fp-tab:hover {
    background: #d4d6dc;
}

.fp-tab.active {
    background: #8B0000;
    color: #ffffff;
    z-index: 11;
}

.fp-content-wrapper {
    display: grid;
    width: 100%;
}

.fp-content-group {
    grid-area: 1 / 1;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0s linear 0.4s, visibility 0s linear 0.4s;
}

.fp-content-group.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
    transition: opacity 0.4s ease-in-out, visibility 0s;
}

.fp-sidebar {
    width: 150px;
    background: #f0f2f5;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    flex-shrink: 0;
    margin-top: 10px;
    text-align: center;
    position: relative;
    height: 360px;
    display: flex;
    flex-direction: column;
}

.fp-thumbnails-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 8px;
}

.fp-thumb {
    cursor: pointer;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 110px;
    margin: 0 auto;
}

.fp-thumb img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}

.fp-thumb.active img, .fp-thumb:hover img {
    border-color: #8B0000;
    box-shadow: 0 4px 10px rgba(139,0,0,0.15);
    transform: scale(1.03);
}

.fp-main-card {
    flex: 1;
    background: #f0f2f5;
    border-radius: 24px;
    padding: 25px;
    display: flex;
    gap: 30px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    position: relative;
    align-items: stretch;
    min-height: 500px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.fp-main-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 44px rgba(0, 0, 0, 0.24);
}

@keyframes matiasFadeRise {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

.fp-main-image {
    flex: 2.5;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.fp-main-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    opacity: 1;
    transform: scale(1);
}

.fp-main-image:hover img {
    transform: scale(1.02);
}

.fp-expand-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.6);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.fp-expand-btn svg {
    width: 18px;
    height: 18px;
    stroke: #000;
}

.fp-expand-btn:hover {
    background: rgba(0,0,0,0.5);
    border-color: transparent;
    transform: scale(1.05);
}

.fp-expand-btn:hover svg { stroke: #fff; }

.fp-info {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
}

.fp-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fp-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    color: #333;
    font-weight: 500;
}

.fp-features li svg {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    color: #000;
}

.fp-lightbox {
    display: none;
    position: fixed;
    z-index: 999999;
    padding-top: 40px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.fp-lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease-out;
}

.fp-lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
    z-index: 1000000;
}

.fp-lightbox-close:hover { color: #8B0000; transform: scale(1.1); }

@keyframes zoomIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.fp-header .section-tag { color: #8B0000; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.5rem; display: block; }
.fp-header h2 { font-weight: 700; color: #111; margin-top: 0; }
.fp-sidebar h4 { color: #8B0000; font-weight: 700; margin-top: 0; margin-bottom: 10px; flex-shrink: 0; }
.fp-thumb p { margin: 6px 0 0 0; font-weight: 600; color: #000033; }
.fp-info h3 { color: #8B0000; font-weight: 800; margin: 0 0 10px 0; text-transform: uppercase; }
.fp-info h4 { color: #000; font-weight: 700; margin: 0 0 20px 0; }

@media (max-width: 767px) {
    .fp-header { margin-bottom: 1.5rem; }
    .fp-tabs-container { gap: 2px; margin-left: 0; justify-content: center; width: 100%; }
    .fp-tab { flex: 1; text-align: center; padding: 10px 5px 10px 5px; border-radius: 15px 15px 0 0; margin: 0 1px; }
    .fp-content-group { flex-direction: column; gap: 15px; }
    .fp-sidebar { width: 100%; height: auto; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 5px 10px; margin-top: 0; }
    .fp-sidebar h4 { width: 100%; text-align: center; margin-bottom: 5px; margin-right: 0; }
    .fp-thumbnails-wrapper { width: 100%; flex-direction: row; overflow-x: auto; justify-content: flex-start; padding-bottom: 10px; gap: 10px; }
    .fp-thumb { width: 90px; flex-shrink: 0; }
    .fp-main-card { width: 100%; flex-direction: column; padding: 15px; gap: 15px; min-height: auto; border-radius: 16px; }
    .fp-main-image { min-height: 250px; }
    .fp-main-image img { position: relative; }
    .fp-info { padding: 5px 0; }
    .fp-features li { margin-bottom: 12px; gap: 10px; }
    .fp-features li svg { width: 24px; height: 24px; }

    .floorplan-section .fp-header .section-tag { font-size: 0.7rem !important; }
    .floorplan-section .fp-header h2 { font-size: 1.3rem !important; }
    .floorplan-section .fp-tab { font-size: 0.8rem !important; }
    .floorplan-section .fp-sidebar h4 { font-size: 0.8rem !important; }
    .floorplan-section .fp-thumb p { font-size: 0.7rem !important; }
    .floorplan-section .fp-info h3 { font-size: 0.8rem !important; margin-bottom: 15px; }
    .floorplan-section .fp-features li { font-size: 0.7rem !important; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .fp-tabs-container { margin: 0 auto; justify-content: left; width: 90%; align-items: center; padding: 0 3rem; }
    .fp-content-group { flex-direction: column; gap: 20px; }
    .fp-sidebar { width: 90%; height: auto; flex-direction: column; align-items: left; justify-content: left; padding: 0.5rem 8rem; margin: 0 auto; box-sizing: border-box; }
    .fp-sidebar h4 { width: 100%; text-align: center; margin-bottom: 20px; margin-right: 0; }
    .fp-thumbnails-wrapper { width: 50%; flex-direction: row; justify-content: center; align-items: flex-start; gap: 10px; overflow: visible; padding-bottom: 0; }
    .fp-thumb { width: 120px; flex-shrink: 0; }
    .fp-thumb img { height: 80px; }
    .fp-main-card { width: 90%; min-height: auto; padding: 25px; margin: 0 auto; }
    .fp-features li { margin-bottom: 15px; }

    .floorplan-section .fp-header .section-tag { font-size: 0.7rem !important; }
    .floorplan-section .fp-header h2 { font-size: 1.5rem !important; }
    .floorplan-section .fp-tab { font-size: 0.9rem !important; }
    .floorplan-section .fp-sidebar h4 { font-size: 0.9rem !important; }
    .floorplan-section .fp-thumb p { font-size: 0.7rem !important; }
    .floorplan-section .fp-info h3 { font-size: 0.8rem !important; }
    .floorplan-section .fp-features li { font-size: 0.7rem !important; }
}

@media (min-width: 1025px) {
    .floorplan-section .fp-header .section-tag { font-size: 0.8rem !important; }
    .floorplan-section .fp-header h2 { font-size: 1.5rem !important; }
    .floorplan-section .fp-tab { font-size: 1rem !important; }
    .floorplan-section .fp-sidebar h4 { font-size: 1rem !important; }
    .floorplan-section .fp-thumb p { font-size: 0.9rem !important; }
    .floorplan-section .fp-info h3 { font-size: 1.1rem !important; }
    .floorplan-section .fp-features li { font-size: 0.9rem !important; }
}

.ai-header-container {
    padding: 3rem 0;
    background: var(--matias-white) !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ai-section {
    padding: 3rem 10%;
    position: relative;
    height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    overflow: hidden;
}

.ai-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: url('https://akralandandhouse.com/wp-content/uploads/2026/05/Dsc08148-pano-edit-1-1.webp') center center/cover no-repeat;
    z-index: -2;
    filter: blur(8px);
    transform: scale(1.05);
}

.ai-overlay-layer { display: none; }

.ai-glass-panel {
    display: flex;
    flex-direction: column;
    height: 650px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 28px;
    padding: 20px;
    gap: 16px;
    width: 100%;
    max-width: 1200px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 1;
    box-sizing: border-box;
}

.ai-top-controls {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    flex-shrink: 0;
    z-index: 50;
}

.ai-custom-select { position: relative; min-width: 180px; flex-shrink: 0; }
.ai-select-trigger { background: #8B0000; color: white; padding: 12px 20px; border-radius: 99px; font-weight: bold; display: flex; justify-content: space-between; align-items: center; cursor: pointer; box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3); transition: transform 0.2s ease; }
.ai-select-trigger:active { transform: scale(0.98); }
.ai-select-options { display: none; position: absolute; top: calc(100% + 8px); left: 0; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); overflow: hidden; border: 1px solid rgba(255,255,255,0.8); width: max-content; min-width: 100%; z-index: 100; }
.ai-select-options.open { display: block; animation: fadeInDown 0.2s ease; }
.ai-select-option { padding: 14px 20px; cursor: pointer; color: #333; font-weight: bold; transition: background 0.2s; }
.ai-select-option:hover { background: rgba(0, 0, 0, 0.05); color: #8B0000; }

.ai-scrollable-btns { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; scrollbar-width: none; -ms-overflow-style: none; }
.ai-scrollable-btns::-webkit-scrollbar { display: none; }
.ai-style-btns { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; }
.style-btn { background: rgba(240, 240, 240, 0.85); border: 2px solid transparent; padding: 10px 20px; border-radius: 99px; font-weight: bold; color: #333; cursor: pointer; text-align: center; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); backdrop-filter: blur(5px); flex-shrink: 0; white-space: nowrap; }
.style-btn:hover { background: #ffffff; box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); }
.style-btn.active { border: 2px solid #8B0000; background: #ffffff; color: #8B0000; }

.ai-main-view { width: 100%; flex: 1; min-height: 0; position: relative; border-radius: 16px; overflow: hidden; background: #e5e5e5; z-index: 1; }
.ai-main-img, #ai-main-img { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; max-height: none !important; max-width: none !important; object-fit: cover !important; object-position: center !important; display: block !important; margin: 0 !important; padding: 0 !important; border: none !important; transition: opacity 0.4s ease-in-out; }
.ai-expand-btn { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.8); display: flex; align-items: center; justify-content: center; cursor: pointer; background: rgba(0,0,0,0.4); backdrop-filter: blur(5px); transition: all 0.3s ease; z-index: 10; }
.ai-expand-btn:hover { background: rgba(0,0,0,0.8); transform: scale(1.05); }

.ai-lightbox { display: none; position: fixed; z-index: 999999; padding-top: 60px; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.85); backdrop-filter: blur(10px); }
.ai-lightbox-content { margin: auto; display: block; max-width: 90%; max-height: 85vh; object-fit: contain; border-radius: 12px; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5); animation: zoomIn 0.3s ease; }
.ai-lightbox-close { position: absolute; top: 20px; right: 35px; color: #f1f1f1; font-weight: bold; cursor: pointer; transition: 0.3s; z-index: 1000000; }
.ai-lightbox-close:hover { color: #8B0000; }

@keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes zoomIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.ai-header-container .section-tag { font-weight: 600; color: #8B0000; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.5rem; }
.ai-header-container .section-title { font-weight: 700; color: #111; margin-top: 0; }
.mobile-break { display: none; }

@media (max-width: 767px) {
    .ai-header-container { padding: 2rem 15px 1rem; }
    .ai-section { padding: 1.5rem 15px; height: 450px; }
    .ai-glass-panel { padding: 15px; gap: 15px; border-radius: 20px; height: 400px; }
    .ai-top-controls { gap: 12px; }
    .ai-custom-select { min-width: auto !important; }
    #ai-select-text { display: none !important; }
    .ai-select-trigger { width: 40px !important; height: 40px !important; padding: 0 !important; justify-content: center !important; border-radius: 50% !important; }

    .ai-select-option { padding: 12px 16px; }
    .ai-style-btns { gap: 8px; }
    .style-btn { padding: 8px 16px; border-radius: 99px; }
    .ai-expand-btn { width: 36px; height: 36px; top: 10px; right: 10px; }
    .ai-expand-btn svg { width: 18px; height: 18px; }
    .ai-header-container .section-tag { font-size: 0.7rem !important; }
    .ai-header-container .section-title { font-size: 1.3rem !important; }
    .ai-select-trigger { font-size: 0.8rem !important; }
    .ai-select-option { font-size: 0.7rem !important; }
    .style-btn { font-size: 0.8rem !important; }
    .ai-lightbox-close { font-size: 30px !important; }
    .mobile-break { display: block; }
    .desktop-space { display: none; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .ai-header-container { padding: 3rem 20px 1.5rem; }
    .ai-section { height: auto; padding: 2.5rem 5%; }
    .ai-glass-panel { height: auto; padding: 20px; gap: 20px; }
    .ai-top-controls { flex-direction: row; align-items: center; gap: 16px; }
    .ai-custom-select { width: auto !important; min-width: auto !important; align-self: center; }
    #ai-select-text { display: none !important; }
    .ai-select-trigger { width: 44px !important; height: 44px !important; padding: 0 !important; justify-content: center !important; border-radius: 50% !important; box-sizing: border-box; }

    .ai-scrollable-btns { width: auto; flex: 1; }
    .ai-style-btns { gap: 12px; }
    .ai-main-view { flex: none; width: 100%; aspect-ratio: 4/3; height: auto; }
    .ai-lightbox-close { top: 15px; right: 25px; }
    .ai-header-container .section-tag { font-size: 0.85rem !important; }
    .ai-header-container .section-title { font-size: 2rem !important; }
    .ai-select-trigger { font-size: 0.95rem !important; }
    .ai-select-option { font-size: 0.95rem !important; }
    .style-btn { font-size: 0.9rem !important; }
    .ai-lightbox-close { font-size: 35px !important; }
}

@media (min-width: 1025px) {
    .ai-header-container .section-tag { font-size: 0.8rem !important; }
    .ai-header-container .section-title { font-size: 1.5rem !important; }
    .ai-select-trigger { font-size: 0.8rem !important; }
    .ai-select-option { font-size: 0.8rem !important; }
    .style-btn { font-size: 0.8rem !important; }
    .ai-lightbox-close { font-size: 40px !important; }
}

.facilities-section {
    padding: 3rem 0 4rem 0;
    background: var(--matias-white) !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

.facilities-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.facilities-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
}

.facility-card {
    background: var(--matias-white);
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.facility-card:hover { transform: translateY(-5px); }

.facility-icon {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(109, 0, 26, 0.05);
    border-radius: 50%;
}

.facility-icon svg {
    width: 2rem;
    height: 2rem;
}

.facilities-header .section-tag {
    font-weight: 600;
    color: var(--matias-primary-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.facilities-header .section-title {
    font-weight: 700;
    color: var(--matias-dark);
    margin-top: 0;
}

.facility-card div:last-child {
    font-weight: bold;
    color: var(--matias-dark);
}

@media (max-width: 767px) {
    .facilities-section {
        padding: 2rem 0.5rem 2rem 1rem;
    }

    .facilities-section .facilities-header .section-tag { font-size: 0.7rem !important; }
    .facilities-section .facilities-header .section-title { font-size: 1.3rem !important; }
    .facilities-section .facility-card div:last-child { font-size: 0.75rem !important; }
    .facilities-grid { gap: 10px; }
    .facility-card { padding: 1rem 1rem; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .facilities-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .facilities-section { padding: 2rem 1rem 3rem 1rem; }
    .facilities-section .facilities-header .section-tag { font-size: 0.7rem !important; }
    .facilities-section .facilities-header .section-title { font-size: 1.5rem !important; }
    .facilities-section .facility-card div:last-child { font-size: 0.8rem !important; }
}

@media (min-width: 1025px) {
    .facilities-grid { grid-template-columns: repeat(5, 1fr); }
    .facilities-section .facilities-header .section-tag { font-size: 0.8rem !important; }
    .facilities-section .facilities-header .section-title { font-size: 1.5rem !important; }
    .facilities-section .facility-card div:last-child { font-size: 0.8rem !important; }
}

.location-section {
    background: var(--matias-white) !important;
    position: relative;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    padding: 2rem 10%;
}

.location-map { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.map-iframe { width: 100%; height: 100%; border: none; }
.location-info { position: relative; z-index: 2; width: 450px; max-width: 100%; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-radius: 2rem; padding: 2.5rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.2); }
.loc-group-title { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; margin-top: 1.5rem; }
.loc-group-title svg { width: 24px; height: 24px; color: var(--matias-primary); }
.loc-item { background: var(--matias-bg-alt); padding: 0.75rem 1rem; border-radius: 1rem; margin-bottom: 0.5rem; color: var(--matias-gray-dark); }

.location-info .section-title {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.location-info p { line-height: 1.6; }
.loc-group-title h3 { font-weight: bold; color: var(--matias-dark); margin: 0; }

@media (max-width: 767px) {
    .location-section {
        padding: 2rem 1.5rem;
        justify-content: center;
        align-items: flex-end;
        min-height: 85vh;
    }

    .location-info {
        width: 100%;
        padding: 1.5rem;
        border-radius: 1.5rem;
    }

    .location-info .section-title { text-align: center; }
    .loc-group-title { margin-top: 1.25rem; margin-bottom: 0.5rem; }
    .loc-group-title svg { width: 20px; height: 20px; }
    .loc-item { padding: 0.6rem 0.875rem; }

    .location-section .location-info .section-tag { font-size: 0.7rem !important; }
    .location-section .location-info .section-title { font-size: 1.3rem !important; }
    .location-section .location-info p { font-size: 0.7rem !important; text-align: center; }
    .location-section .loc-group-title h3 { font-size: 0.8rem !important; }
    .location-section .loc-item { font-size: 0.7rem !important; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .location-section {
        padding: 4rem 5%;
        justify-content: center;
    }

    .location-info {
        width: 80%;
        padding: 2.5rem;
    }

    .location-section .location-info .section-tag { font-size: 0.7rem !important; }
    .location-section .location-info .section-title { font-size: 1.5rem !important; }
    .location-section .location-info p { font-size: 0.7rem !important; }
    .location-section .loc-group-title h3 { font-size: 1rem !important; }
    .location-section .loc-item { font-size: 0.7rem !important; }
}

@media (min-width: 1025px) {
    .location-section .location-info .section-tag { font-size: 0.8rem !important; }
    .location-section .location-info .section-title { font-size: 1.5rem !important; }
    .location-section .location-info p { font-size: 0.9rem !important; }
    .location-section .loc-group-title h3 { font-size: 1.1rem !important; }
    .location-section .loc-item { font-size: 0.8rem !important; }
}

.mortgage-section-wrapper {
    padding: 5rem 1rem;
    background: var(--matias-white);
    box-sizing: border-box;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    margin-top: -1.5rem !important;
}

.mortgage-card {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    background: var(--matias-bg-light);
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0px 15px 20px rgba(0,0,0,0.08);
    box-sizing: border-box;
}

.mortgage-header {
    text-align: center;
    margin-bottom: 2rem;
}

.mortgage-inputs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.matias-form-group input {
    width: 100%;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid var(--matias-gray-light);
    outline: none;
    color: var(--matias-gray) !important;
    font-weight: 400;
    box-sizing: border-box;
}

.matias-form-group input::placeholder {
    color: #d4d4d4 !important;
}

.mortgage-result {
    background: var(--matias-white);
    border: 1px solid var(--matias-gray-light);
    padding: 2rem;
    border-radius: 1.5rem;
    text-align: center;
    margin: 2rem 0;
    color: var(--matias-dark);
}

.btn-submit-calc {
    display: block;
    width: 100%;
    background: var(--matias-dark);
    color: #fff;
    padding: 1.25rem;
    border-radius: 9999px;
    text-align: center;
    font-weight: bold;
    transition: 0.3s;
    text-decoration: none;
    box-sizing: border-box;
}

.mortgage-header .section-tag {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mortgage-header .section-title {
    font-weight: bold;
    margin-top: 0.5rem;
}

.matias-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--matias-gray-dark);
}

.result-label {
    color: var(--matias-gray-dark);
}

.result-value {
    font-weight: bold;
    margin-top: 0.5rem;
    color: var(--matias-primary-dark);
    word-break: break-word;
}

@media (max-width: 767px) {
    .mortgage-section-wrapper { padding: 3rem 1rem; }
    .mortgage-card { padding: 1rem; border-radius: 1.5rem; }
    .mortgage-inputs { grid-template-columns: repeat(2, 1fr); gap: 1rem 1rem; }
    .mortgage-result { padding: 1rem; border-radius: 1.25rem; margin: 1.5rem 0; }
    .matias-form-group input { padding: 0.7rem 0.5rem; }

    .mortgage-section-wrapper .mortgage-header .section-tag { font-size: 0.7rem !important; }
    .mortgage-section-wrapper .mortgage-header .section-title { font-size: 1.3rem !important; }
    .mortgage-section-wrapper .matias-form-group label { font-size: 0.7rem !important; letter-spacing: -0.2px; }
    .mortgage-section-wrapper .matias-form-group input { font-size: 1rem !important; }

    .mortgage-section-wrapper .result-label { font-size: 0.9rem !important; }
    .mortgage-section-wrapper .result-value { font-size: 1.3rem !important; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .mortgage-section-wrapper { padding: 4rem 1rem; }
    .mortgage-card { padding: 2.5rem; border-radius: 1.75rem; width: 80%; }
    .mortgage-inputs { gap: 1.25rem; }
    .mortgage-section-wrapper .mortgage-header .section-tag { font-size: 0.7rem !important; }
    .mortgage-section-wrapper .mortgage-header .section-title { font-size: 1.5rem !important; }
    .mortgage-section-wrapper .matias-form-group label { font-size: 0.8rem !important; }
    .mortgage-section-wrapper .matias-form-group input { font-size: 0.9rem !important; }
    .mortgage-section-wrapper .result-label { font-size: 1rem !important; }
    .mortgage-section-wrapper .result-value { font-size: 1.3rem !important; }
}

@media (min-width: 1025px) {
    .mortgage-section-wrapper .mortgage-header .section-tag { font-size: 0.8rem !important; }
    .mortgage-section-wrapper .mortgage-header .section-title { font-size: 1.5rem !important; }
    .mortgage-section-wrapper .matias-form-group label { font-size: 1rem !important; }
    .mortgage-section-wrapper .matias-form-group input { font-size: 1.1rem !important; }
    .mortgage-section-wrapper .result-label { font-size: 1rem !important; }
    .mortgage-section-wrapper .result-value { font-size: 1.5rem !important; }
}

.cta-section {
    position: relative;
    padding: 7rem 0;
    text-align: center;
    background: var(--matias-white);
    overflow: hidden;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100vw !important;
    max-width: 100vw !important;
}

.cta-bg {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    background: rgba(0, 0, 0, 0.7) !important;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 10;
    max-width: 48rem;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
}

.btn-icon {
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    flex-shrink: 0;
}

.matias-footer {
    background: var(--matias-dark) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    padding: 1rem 0 1rem 0 !important;
    text-align: center !important;
    position: relative !important;
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    box-sizing: border-box !important;
}

.cta-title {
    font-weight: bold;
    color: var(--matias-white) !important;
}

.cta-desc {
    color: rgba(255, 255, 255, 0.75) !important;
}

@media (max-width: 767px) {
    .cta-section .cta-title { font-size: 1.3rem !important; }
    .cta-section .cta-desc { font-size: 0.8rem !important; }
    .matias-footer { font-size: 0.5rem !important; }

    .cta-buttons .matias-btn:not(.btn-icon) {
        padding: 0.6rem 1.25rem !important;
        font-size: 0.7rem !important;
    }

    .cta-buttons .btn-icon { width: 40px !important; height: 40px !important; }
    .cta-buttons .btn-icon svg { width: 18px; height: 18px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .cta-buttons { flex-direction: row; }
    .mobile-only-btn { display: none !important; }
    .cta-section .cta-title { font-size: 1.5rem !important; }
    .cta-section .cta-desc { font-size: 0.8rem !important; }
    .matias-footer { font-size: 0.7rem !important; }

    .cta-buttons .matias-btn:not(.btn-icon) {
        padding: 0.8rem 1.5rem !important;
        font-size: 0.7rem !important;
    }

    .cta-buttons .btn-icon { width: 44px !important; height: 44px !important; }
    .cta-buttons .btn-icon svg { width: 20px; height: 20px; }
}

@media (min-width: 1025px) {
    .cta-buttons { flex-direction: row; }
    .mobile-only-btn { display: none !important; }

    .cta-section .cta-title { font-size: 1.5rem !important; }
    .cta-section .cta-desc { font-size: 1rem !important; }
    .matias-footer { font-size: 0.8rem !important; }

    .cta-buttons .matias-btn:not(.btn-icon) {
        padding: 0.8rem 2rem !important;
        font-size: 1rem !important;
    }

    .cta-buttons .btn-icon { width: 48px !important; height: 48px !important; }
    .cta-buttons .btn-icon svg { width: 22px; height: 22px; }
}

.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--matias-white) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.mobile-nav.show-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 4.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--matias-gray-dark) !important;
    transition: opacity 0.2s ease;
}

.mobile-nav-btn .nav-icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-bottom: 0.35rem;
}

.mobile-nav-btn.dark {
    background: var(--matias-dark) !important;
    color: var(--matias-white) !important;
}

.mobile-nav-btn.highlight {
    background: var(--matias-primary-dark) !important;
    color: var(--matias-white) !important;
    font-size: 0.9rem;
    font-weight: bold;
}

.mobile-nav-btn:active {
    opacity: 0.8;
}

@media (min-width: 768px) {
    .mobile-nav {
        display: none !important;
    }
}

.fp-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fp-overlay.active {
    opacity: 1;
    visibility: visible;
}

.fp-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.7) translateY(50px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fp-overlay.active .fp-box {
    transform: scale(1) translateY(0);
}

.fp-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f1f1;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.fp-close:hover {
    background: #e0e0e0;
    color: #333;
}

.fp-header {
    padding: 24px 24px 16px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.fp-header h2 {
    margin: 0 0 8px;
    font-size: 24px;
    color: #333;
}

.fp-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.fp-body {
    padding: 24px;
}

.fp-footer {
    padding: 16px 24px 24px;
    text-align: center;
    border-top: 1px solid #eee;
}

.fp-footer p {
    margin: 0;
    font-size: 12px;
    color: #999;
}

@media (max-width: 576px) {
    .fp-box { width: 95%; }
    .fp-header { padding: 20px 16px 12px; }
    .fp-header h2 { font-size: 20px; }
    .fp-body { padding: 16px; }
}
