* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f8fafc;
    color: #111827;
}

html.intro-active,
html.intro-active body {
    overflow: hidden;
}

.site-intro {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 26px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 50% 40%, rgba(14, 165, 233, .2), transparent 30%),
        linear-gradient(145deg, #020617 0%, #0f172a 52%, #05070d 100%);
    opacity: 1;
    transition: opacity .55s ease, visibility .55s ease;
}

.site-intro::before {
    content: "";
    position: absolute;
    width: min(460px, 74vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, .18), transparent 68%);
    filter: blur(4px);
}

.site-intro.is-hiding {
    visibility: hidden;
    opacity: 0;
}

.site-intro-ring {
    position: relative;
    z-index: 1;
    display: grid;
    width: clamp(160px, 18vw, 230px);
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: rgba(15, 23, 42, .36);
    box-shadow:
        inset 0 0 42px rgba(14, 165, 233, .12),
        0 24px 70px rgba(2, 6, 23, .42);
}

.site-intro-ring span {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0 18%, #38bdf8 30%, transparent 45% 72%, #0ea5e9 86%, transparent 100%);
    filter: drop-shadow(0 0 16px rgba(14, 165, 233, .78));
    animation: introSpin 1.12s linear infinite;
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
}

.site-intro-ring::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    border: 1px solid rgba(56, 189, 248, .22);
}

.site-intro-ring::after {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .08);
}

.site-intro-ring img {
    position: relative;
    z-index: 1;
    width: 62%;
    max-height: 62%;
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .38));
}

.site-intro-ring strong {
    position: relative;
    z-index: 1;
    padding: 0 28px;
    text-align: center;
    font-size: 24px;
}

.site-intro-title,
.site-intro-subtitle {
    position: relative;
    z-index: 1;
    text-align: center;
    text-transform: uppercase;
}

.site-intro-title {
    color: #38bdf8;
    max-width: calc(100vw - 32px);
    font-size: clamp(34px, 5.8vw, 76px);
    font-weight: 900;
    line-height: .92;
    white-space: nowrap;
    text-shadow: 0 0 28px rgba(56, 189, 248, .38);
}

.site-intro-subtitle {
    margin-top: -16px;
    color: rgba(255, 255, 255, .84);
    max-width: calc(100vw - 36px);
    font-size: clamp(15px, 2.2vw, 28px);
    font-weight: 800;
    letter-spacing: 5px;
}

@media (max-width: 600px) {
    .site-intro {
        gap: 22px;
        padding: 24px;
    }

    .site-intro::before {
        width: min(330px, 84vw);
    }

    .site-intro-ring {
        width: min(178px, 46vw);
    }

    .site-intro-ring img {
        width: 60%;
        max-height: 60%;
    }

    .site-intro-title {
        font-size: clamp(34px, 10.5vw, 46px);
    }

    .site-intro-subtitle {
        margin-top: -14px;
        font-size: clamp(14px, 4.8vw, 21px);
        letter-spacing: 4px;
    }
}

@keyframes introSpin {
    to {
        transform: rotate(360deg);
    }
}

.container {
    width: min(1200px, 92%);
    margin: auto;
}

.site-header {
    background: #111827;
    color: #fff;
    padding: 24px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-search {
    display: flex;
    width: min(340px, 32vw);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: #fff;
}

.header-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    padding: 12px 14px;
    color: #111827;
    font-size: 14px;
    outline: 0;
}

.header-search button {
    border: 0;
    padding: 0 16px;
    color: #fff;
    background: #2563eb;
    cursor: pointer;
    font-weight: 800;
}

.site-header a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.site-logo img {
    width: auto;
    max-width: 320px;
    max-height: 110px;
    object-fit: contain;
}

.hero {
    padding: 110px 0 120px;
    color: #fff;
    background:
        linear-gradient(rgba(15, 23, 42, .72), rgba(15, 23, 42, .72)),
        url('../uploads/hero.jpg') center/cover no-repeat;
}

.hero h1 {
    max-width: 700px;
    margin: 0 0 20px;
    font-size: 52px;
    line-height: 1.1;
}

.hero p {
    max-width: 700px;
    margin: 0;
    color: #e5e7eb;
    font-size: 18px;
    line-height: 1.7;
}

.search-section {
    display: none;
    margin-top: -36px;
    position: relative;
    z-index: 5;
}

.search-box {
    display: grid;
    grid-template-columns: 2fr repeat(6, minmax(120px, 1fr)) auto;
    gap: 12px;
    padding: 22px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .16);
}

.search-box input,
.search-box select {
    width: 100%;
    padding: 14px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 14px;
}

.search-box button {
    padding: 14px 22px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: #2563eb;
    cursor: pointer;
    font-weight: 800;
}

.section-title {
    margin: 50px 0 24px;
    font-size: 34px;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.listing-card {
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 10px 35px rgba(15, 23, 42, .08);
    transition: .25s;
}

.listing-card:hover {
    transform: translateY(-4px);
}

.listing-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: #e5e7eb;
}

.listing-placeholder {
    display: grid;
    width: 100%;
    height: 240px;
    place-items: center;
    color: #64748b;
    background: linear-gradient(135deg, #e2e8f0, #f8fafc);
    font-weight: 700;
}

.listing-card-content {
    padding: 22px;
}

.badge {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    color: #fff;
    background: #2563eb;
    font-size: 13px;
    font-weight: 700;
}

.listing-card h3 {
    margin: 16px 0 10px;
    font-size: 24px;
    line-height: 1.3;
}

.listing-card p {
    margin: 0 0 16px;
    color: #6b7280;
}

.price {
    display: block;
    margin-bottom: 18px;
    color: #111827;
    font-size: 28px;
}

.button {
    display: inline-block;
    padding: 13px 18px;
    border-radius: 12px;
    color: #fff;
    background: #2563eb;
    text-decoration: none;
    font-weight: 700;
}

.contact-page {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 30px;
    padding: 50px 0;
}

.contact-page h1 {
    margin-top: 0;
    font-size: 38px;
}

.contact-card {
    display: grid;
    gap: 6px;
    margin-bottom: 16px;
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

.contact-card a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
}

.map-box {
    overflow: hidden;
    min-height: 420px;
    border-radius: 22px;
    background: #e5e7eb;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

.map-box iframe {
    width: 100%;
    height: 420px;
    border: 0;
}

.consultants-page {
    min-height: calc(100vh - 190px);
    padding: 58px 0 82px;
}

.consultants-heading {
    margin-bottom: 28px;
}

.consultants-heading h1 {
    margin: 0 0 8px;
    font-size: 38px;
    line-height: 1.15;
}

.consultants-heading p {
    max-width: 680px;
    margin: 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
}

.consultants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
    justify-content: center;
    gap: 24px;
    align-items: stretch;
}

.consultant-card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.consultant-photo {
    display: grid;
    place-items: center;
    padding: 18px 18px 0;
    background:
        radial-gradient(circle at 50% 16%, rgba(37, 99, 235, .12), transparent 34%),
        linear-gradient(135deg, #f8fafc, #eef2f7);
}

.consultant-photo img,
.consultant-placeholder {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: 310px !important;
    border-radius: 18px 18px 0 0;
    object-fit: cover;
    object-position: center top;
    background: #fff;
}

.consultant-placeholder {
    display: grid;
    place-items: center;
    color: #2563eb;
    font-size: 54px;
    font-weight: 800;
}

.consultant-info {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 12px;
    padding: 22px 24px 24px;
}

.consultant-info > span {
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.consultant-info h2 {
    margin: 0;
    font-size: 25px;
    line-height: 1.2;
}

.consultant-lines {
    display: grid;
    gap: 10px;
}

.consultant-lines a {
    display: grid;
    gap: 3px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    color: #111827;
    background: #f8fafc;
    text-decoration: none;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.consultant-lines small {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.consultant-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.consultant-buttons a {
    display: block;
    padding: 13px;
    border-radius: 13px;
    color: #fff;
    background: #2563eb;
    text-align: center;
    text-decoration: none;
    font-weight: 900;
}

.consultant-buttons .consultant-whatsapp {
    background: #16a34a;
}

.site-footer {
    padding: 30px 0;
    color: #fff;
    background: #111827;
}

.whatsapp-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 22px;
    border-radius: 999px;
    color: #fff;
    background: #16a34a;
    box-shadow: 0 10px 30px rgba(22, 163, 74, .35);
    text-decoration: none;
    font-weight: 800;
    transition: .2s;
}

.whatsapp-button:hover {
    transform: translateY(-2px);
}

@media (max-width: 1100px) {
    .listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-box {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-box button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .site-header {
        padding: 18px 0;
    }

    .site-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        text-align: center;
    }

    .header-actions {
        min-width: 0;
        flex: 1;
        flex-direction: column;
        align-items: stretch;
    }

    .header-search {
        width: 100%;
    }

    .site-header nav {
        justify-content: center;
        margin-top: 0;
        flex-wrap: wrap;
        gap: 12px 16px;
    }

    .site-logo {
        justify-content: center;
    }

    .site-logo img {
        max-width: min(260px, 82vw);
        max-height: 92px;
    }

    .hero {
        padding: 80px 0 100px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .contact-page {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .listing-grid,
    .consultants-grid,
    .search-box {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .listing-card img {
        height: 220px;
    }

    .consultant-card {
        min-height: 0;
        border-radius: 22px;
    }

    .consultant-photo {
        padding: 14px 14px 0;
    }

    .consultant-photo img,
    .consultant-placeholder {
        height: 245px !important;
        border-radius: 16px 16px 0 0;
    }

    .consultant-info {
        padding: 20px;
    }

    .consultant-info h2 {
        font-size: 22px;
    }

    .consultant-buttons {
        grid-template-columns: 1fr;
    }
}


.featured-card {
    border: 2px solid #f59e0b;
}

.featured-badge {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    color: #111827;
    background: #facc15;
    font-size: 13px;
    font-weight: 800;
}


.hero-slider {
    position: relative;
    height: 620px;
    overflow: hidden;
    background: #111827;
}

.hero-slider-mobile {
    display: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    color: #fff;
    background-position: center;
    background-size: cover;
    transition: opacity .8s ease;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide h1 {
    max-width: 760px;
    margin: 0 0 20px;
    font-size: 56px;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.hero-slide p {
    max-width: 700px;
    margin: 0 0 28px;
    color: #e5e7eb;
    font-size: 19px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.hero-button {
    display: inline-block;
    padding: 15px 22px;
    border-radius: 14px;
    color: #fff;
    background: #2563eb;
    text-decoration: none;
    font-weight: 800;
}

@media (max-width: 900px) {
    .hero-slider {
        height: 400px;
    }

    .hero-slide {
        align-items: center;
        background-position: center center;
        background-size: auto 100%;
        background-repeat: no-repeat;
    }

    .hero-slide .container {
        padding: 28px 0;
    }

    .hero-slide h1 {
        font-size: 38px;
        line-height: 1.16;
    }

    .hero-slide p {
        max-width: 100%;
        font-size: 17px;
        line-height: 1.55;
    }
}

@media (max-width: 600px) {
    .site-header {
        padding: 16px 0;
    }

    .site-logo img {
        max-width: min(150px, 54vw);
        max-height: 66px;
    }

    .site-header nav {
        gap: 10px 14px;
    }

    .site-header nav a {
        font-size: 14px;
    }

    .hero-slider {
        height: 360px;
    }

    .hero-slide h1 {
        margin-bottom: 14px;
        font-size: 30px;
        line-height: 1.18;
    }

    .hero-slide p {
        margin-bottom: 20px;
        font-size: 15px;
        line-height: 1.5;
    }

    .hero-button {
        width: 100%;
        max-width: 280px;
        padding: 13px 18px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-slider-desktop {
        display: none;
    }

    .hero-slider-mobile {
        display: block;
    }

    .hero-slider {
        width: min(100% - 24px, 430px);
        height: auto !important;
        aspect-ratio: 2 / 3;
        min-height: 0;
        max-height: none;
        margin: 14px auto 18px;
        border: 1px solid rgba(21, 94, 239, .16);
        border-radius: 30px;
        background: #fff;
        box-shadow: 0 20px 50px rgba(15, 23, 42, .18);
    }

    .hero-slide {
        align-items: flex-end;
        background-position: center center !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
    }

    .hero-slide .container {
        display: block !important;
        width: 100%;
        padding: 28px 24px;
        background: transparent;
        text-shadow: 0 2px 12px rgba(15, 23, 42, .7);
    }

    .hero-slide h1 {
        max-width: 100%;
        margin-bottom: 10px;
        font-size: 28px;
        line-height: 1.12;
    }

    .hero-slide p {
        display: block;
        max-width: 100%;
        margin-bottom: 14px;
        font-size: 14px;
        line-height: 1.45;
    }

    .hero-button {
        width: auto;
        max-width: 100%;
        padding: 12px 16px;
        border-radius: 999px;
    }

    .search-section {
        margin-top: 16px;
    }
}

.mobile-filter-toggle {
    display: none;
}

@media (max-width: 768px) {
    :root {
        --mobile-blue: #155eef;
        --mobile-ink: #101828;
        --mobile-muted: #667085;
        --mobile-line: #e4e7ec;
        --mobile-surface: #ffffff;
    }

    body {
        background: #f6f8fb;
        color: var(--mobile-ink);
        font-family: Arial, sans-serif;
        padding-bottom: 22px;
    }

    .container {
        width: min(100% - 32px, 560px);
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        padding: 14px 0 12px;
        background: rgba(16, 24, 40, .96);
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        backdrop-filter: blur(16px);
    }

    .site-header .container {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 12px;
        align-items: center;
    }

    .site-logo img {
        max-width: min(168px, 46vw) !important;
        max-height: 82px !important;
    }

    .header-actions {
        width: 100%;
        min-width: 0;
        gap: 8px;
    }

    .header-search {
        width: 100%;
        height: 38px;
    }

    .header-search input {
        padding: 0 11px;
        font-size: 12px;
    }

    .header-search button {
        padding: 0 12px;
        font-size: 12px;
    }

    .site-header nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 4px;
        padding: 4px;
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 999px;
        background: rgba(255, 255, 255, .06);
    }

    .site-header nav a {
        min-width: 0;
        padding: 9px 4px;
        border-radius: 999px;
        color: #eef4ff;
        font-size: 12px !important;
        font-weight: 800;
        line-height: 1;
        text-align: center;
        white-space: nowrap;
    }

    .site-header nav a:hover {
        background: rgba(255, 255, 255, .12);
    }

    .hero-slider {
        width: min(100% - 24px, 430px);
        height: auto !important;
        aspect-ratio: 2 / 3;
        margin: 14px auto 18px;
        border: 1px solid rgba(21, 94, 239, .16);
        border-radius: 30px;
        background: #fff;
        box-shadow: 0 20px 50px rgba(15, 23, 42, .18);
    }

    .hero-slide {
        align-items: flex-end;
        background-size: cover !important;
        background-position: center center !important;
    }

    .search-section {
        margin-top: 0;
        padding: 16px 0 8px;
        background: linear-gradient(180deg, #fff 0%, #f6f8fb 100%);
    }

    .mobile-filter-toggle {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        margin: 0 0 10px;
        padding: 13px 16px;
        border: 1px solid #d0d5dd;
        border-radius: 16px;
        color: var(--mobile-blue);
        background: #fff;
        box-shadow: 0 8px 20px rgba(16, 24, 40, .06);
        font-size: 14px;
        font-weight: 900;
    }

    .search-box {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 14px;
        border: 1px solid #eef2f6;
        border-radius: 24px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 18px 45px rgba(16, 24, 40, .10);
    }

    .search-box input,
    .search-box select {
        height: 48px;
        padding: 0 14px;
        border: 1px solid #d0d5dd;
        border-radius: 14px;
        background: #fff;
        color: var(--mobile-ink);
        font-size: 14px;
    }

    .search-box select,
    .search-box input[type="number"] {
        display: none;
    }

    .search-section.is-open .search-box select,
    .search-section.is-open .search-box input[type="number"] {
        display: block;
    }

    .search-box button[type="submit"] {
        height: 50px;
        border-radius: 15px;
        background: linear-gradient(135deg, #155eef, #0b5bd3);
        box-shadow: 0 12px 24px rgba(21, 94, 239, .26);
        font-size: 15px;
    }

    .section-title {
        margin: 34px 0 16px;
        font-size: 25px;
        line-height: 1.15;
        letter-spacing: 0;
    }

    .listing-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 34px;
    }

    .listing-card,
    .featured-card {
        display: grid;
        grid-template-columns: 42% 58%;
        min-height: 164px;
        overflow: hidden;
        border: 1px solid #eef2f6;
        border-radius: 20px;
        background: #fff;
        box-shadow: 0 12px 28px rgba(16, 24, 40, .08);
        transform: none !important;
    }

    .featured-card {
        border-color: rgba(245, 158, 11, .55);
        box-shadow: 0 14px 32px rgba(245, 158, 11, .12);
    }

    .listing-card img,
    .listing-placeholder {
        width: 100%;
        height: 100% !important;
        min-height: 164px;
        border-radius: 0;
        object-fit: cover;
    }

    .listing-placeholder {
        padding: 16px;
        text-align: center;
        font-size: 12px;
    }

    .listing-card-content {
        display: flex;
        min-width: 0;
        flex-direction: column;
        justify-content: center;
        padding: 14px;
    }

    .badge,
    .featured-badge {
        width: fit-content;
        padding: 6px 9px;
        border-radius: 999px;
        font-size: 10px;
        font-weight: 900;
        letter-spacing: .2px;
    }

    .listing-card h3 {
        display: -webkit-box;
        overflow: hidden;
        margin: 10px 0 6px;
        color: var(--mobile-ink);
        font-size: 18px;
        line-height: 1.18;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .listing-card p {
        overflow: hidden;
        margin: 0 0 10px;
        color: var(--mobile-muted);
        font-size: 12px;
        line-height: 1.35;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .price {
        margin: 0 0 12px;
        color: var(--mobile-ink);
        font-size: 21px;
        line-height: 1;
        font-weight: 900;
    }

    .button {
        width: fit-content;
        padding: 10px 13px;
        border-radius: 12px;
        background: var(--mobile-blue);
        font-size: 13px;
        font-weight: 900;
    }

    .site-footer {
        margin-top: 20px;
        padding: 22px 0 72px;
        background: #101828;
        color: #d0d5dd;
        font-size: 12px;
        text-align: center;
    }

    .whatsapp-button {
        right: 16px;
        bottom: 84px;
        min-width: 54px;
        height: 54px;
        padding: 0 16px;
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 999px;
        background: linear-gradient(135deg, #16a34a, #059669);
        box-shadow: 0 14px 30px rgba(5, 150, 105, .32);
        font-size: 13px;
        font-weight: 900;
    }
}

@media (max-width: 380px) {
    .site-header nav a {
        font-size: 11px !important;
    }

    .listing-card,
    .featured-card {
        grid-template-columns: 39% 61%;
    }

    .listing-card h3 {
        font-size: 16px;
    }

    .price {
        font-size: 19px;
    }
}

.site-header .container {
    position: relative;
}

.header-actions {
    min-width: 0;
}

.search-toggle {
    position: relative;
    display: grid;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    cursor: pointer;
}

.search-toggle span,
.search-toggle span::before,
.search-toggle span::after {
    display: block;
}

.search-toggle span {
    position: relative;
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
}

.search-toggle span::after {
    content: "";
    position: absolute;
    right: -7px;
    bottom: -5px;
    width: 8px;
    height: 2px;
    border-radius: 999px;
    background: #cbd5e1;
    transform: rotate(45deg);
}

.header-search {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 1200;
    display: none;
    width: min(420px, 92vw);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .22);
}

.header-search.is-open {
    display: flex;
}

@media (max-width: 768px) {
    .site-header .container {
        grid-template-columns: auto 1fr auto !important;
        grid-template-areas:
            "logo spacer search"
            "nav nav nav";
        row-gap: 10px;
    }

    .header-actions {
        display: contents !important;
    }

    .site-logo {
        grid-area: logo;
        justify-content: flex-start !important;
        width: auto !important;
    }

    .search-toggle {
        grid-area: search;
        justify-self: end;
        width: 46px;
        height: 46px;
    }

    .site-header nav {
        grid-area: nav;
        display: flex !important;
        width: 100% !important;
        min-width: 0;
        overflow-x: auto;
        justify-content: flex-start !important;
        flex: none;
        gap: 8px !important;
        padding: 4px !important;
        scrollbar-width: none;
    }

    .site-header nav::-webkit-scrollbar {
        display: none;
    }

    .site-header nav a {
        flex: 0 0 auto;
        min-width: max-content !important;
        padding: 9px 12px !important;
        font-size: 12px !important;
        line-height: 1 !important;
    }

    .header-search {
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        width: 100% !important;
        height: 44px;
    }
}

.header-actions {
    position: relative;
}

.header-search {
    top: 50%;
    right: 52px;
    transform: translateY(-50%);
    width: min(360px, 42vw);
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .16);
    backdrop-filter: blur(16px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .22);
}

.header-search input {
    color: #fff;
    background: transparent;
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, .76);
}

.header-search button {
    background: rgba(37, 99, 235, .92);
}

@media (max-width: 768px) {
    .header-search {
        top: 4px !important;
        left: auto !important;
        right: 58px !important;
        width: min(250px, calc(100vw - 178px)) !important;
        height: 46px !important;
        transform: none;
    }

    .site-header.is-searching .site-logo {
        justify-self: start;
    }

    .site-header.is-searching .site-logo img {
        max-width: 96px !important;
        max-height: 54px !important;
    }

    .site-header nav {
        justify-content: center !important;
    }

    .site-header nav a {
        padding: 9px 10px !important;
    }
}

/* Ortak sağlamlık, erişilebilirlik ve mobil yerleşim düzeltmeleri */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    flex-direction: column;
}

body > main {
    flex: 1 0 auto;
}

img,
iframe {
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #38bdf8;
    outline-offset: 3px;
}

.site-footer-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-align: center;
}

.site-footer-copyright {
    line-height: 1.6;
}

.powered-by {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    width: max-content;
    align-items: center;
    gap: 9px;
    margin: 28px auto 0;
    padding: 9px 13px 9px 10px;
    border: 1px solid rgba(201, 255, 50, .16);
    border-radius: 14px;
    color: #f3eee3;
    background: rgba(12, 16, 13, .53);
    font-family: Inter, Arial, sans-serif;
    text-decoration: none;
    animation: creditGlow 2.2s ease-in-out infinite;
}

.powered-by::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -120%;
    bottom: -120%;
    left: -55%;
    width: 32%;
    background: linear-gradient(90deg, transparent, rgba(201, 255, 50, .08), rgba(98, 231, 213, .2), rgba(201, 255, 50, .08), transparent);
    transform: rotate(18deg);
    animation: creditScan 3s ease-in-out infinite;
}

.powered-by small {
    color: #666b67;
    font-size: 6px;
    font-weight: 700;
    letter-spacing: .2em;
}

.fk-mark {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    place-items: center;
    border: 1px solid rgba(201, 255, 50, .5);
    border-radius: 9px;
    color: #c9ff32;
    background: #0c100d;
    font: 900 9px monospace;
    animation: logoDance 2.6s ease-in-out infinite, logoGlow 1.5s ease-in-out infinite;
}

.fk-mark::before {
    content: "";
    position: absolute;
    inset: -65%;
    z-index: -2;
    background: conic-gradient(transparent 0deg, transparent 38%, #c9ff32 44%, #62e7d5 52%, transparent 59%);
    animation: fkOrbit 4.8s linear infinite;
}

.fk-mark::after {
    content: "";
    position: absolute;
    inset: 2px;
    z-index: -1;
    border-radius: 6px;
    background: #0c100d;
}

.fk-mark i {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #c9ff32;
    box-shadow: 0 0 8px #c9ff32;
    animation: fkPulse 1.6s ease infinite;
}

.powered-by b {
    color: transparent;
    background: linear-gradient(105deg, #fff 35%, #999 45%, #fff 55%) 100% 50% / 240% text;
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -.7px;
    animation: wordScan 5.8s ease infinite;
}

.powered-by b em {
    color: transparent;
    background: linear-gradient(90deg, #c9ff32, #62e7d5, #c9ff32) 0 0 / 200% text;
    -webkit-background-clip: text;
    background-clip: text;
    font-style: normal;
    animation: wordCode 3.4s linear infinite;
}

.powered-by > span:last-child {
    color: #f3eee3;
    font-size: 16px;
}

@keyframes logoDance {
    0%, 100% { transform: rotate(-4deg); }
    50% { transform: rotate(5deg) scale(1.08); }
}

@keyframes logoGlow {
    50% { box-shadow: 0 0 18px rgba(201, 255, 50, .47), 0 0 30px rgba(98, 231, 213, .18); }
}

@keyframes creditGlow {
    50% { border-color: rgba(98, 231, 213, .42); box-shadow: 0 0 27px rgba(201, 255, 50, .11); }
}

@keyframes creditScan {
    0%, 18% { left: -55%; opacity: 0; }
    30%, 72% { opacity: 1; }
    86%, 100% { left: 125%; opacity: 0; }
}

@keyframes fkOrbit {
    to { transform: rotate(360deg); }
}

@keyframes fkPulse {
    50% { opacity: .25; transform: scale(.5); }
}

@keyframes wordScan {
    0%, 65%, 100% { background-position: 100% center; }
    82% { background-position: 0 center; }
}

@keyframes wordCode {
    to { background-position: -200% center; }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 0;
    }

    .site-header nav {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow: visible;
        justify-content: stretch !important;
    }

    .site-header nav a {
        min-width: 0 !important;
        padding: 10px 4px !important;
        white-space: normal;
    }

    .contact-page {
        gap: 20px;
        padding: 34px 0;
    }

    .contact-page h1,
    .consultants-heading h1 {
        font-size: clamp(30px, 9vw, 38px);
    }

    .map-box,
    .map-box iframe {
        min-height: 320px;
        height: 320px;
    }

    .site-footer {
        padding: 24px 0 90px;
    }

    .site-footer-row {
        flex-direction: column;
        justify-content: center;
        gap: 12px;
        text-align: center;
    }

    .whatsapp-button {
        bottom: max(16px, env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .site-intro {
        display: none;
    }

    html.intro-active,
    html.intro-active body {
        overflow: auto;
    }
}
