:root {
    --gold: #e0c297;
    --bg: #0a1215;
    --panel: #0c1418;
    --panel2: #0b1215;
    --muted: #b5c0c7;
    --rad: 18px;
    --line: #1a2429;
}

.mobile-br {
    display: none;
}

@media (max-width: 640px) {
    .mobile-br {
        display: block;
    }

    .contact-hero h1 {
        font-size: clamp(36px, 9.5vw, 56px);
    }
}

.actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta {
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.cta.gold {
    background: var(--gold);
    color: #1a1a1a;
    border-color: transparent;
}

.container {
    width: min(1120px, 92%);
    margin-inline: auto;
}

.head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 40px 0 24px;
    direction: rtl;
}

.head h2 {
    color: var(--gold);
    font-family: "Peyda", sans-serif;
    letter-spacing: 0;
    font-size: 32px;
    font-weight: 800;
    position: relative;
    line-height: 1.7;
}

.head h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 0;
    left: auto;
    width: 86px;
    height: 2px;
    background: linear-gradient(270deg, var(--gold), transparent);
}

.map-wrap {
    height: 460px;
    border-radius: var(--rad);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    position: relative;
    margin: 28px 0 22px;
    background: var(--panel);
}

#map {
    width: 100%;
    height: 100%;
    direction: ltr;
}

.leaflet-control-attribution {
    display: none !important;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 18px 0 6px;
}

.info-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--rad);
    padding: 24px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
    perspective: 1200px;
    direction: rtl;
}

.info-card:hover {
    transform: translateY(-10px) rotateX(8deg) rotateY(-6deg);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.6), 0 0 38px rgba(224, 194, 151, 0.35);
}

.info-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(315deg, transparent, rgba(224, 194, 151, 0.12));
    opacity: 0;
    transition: opacity 0.45s ease;
}

.info-card:hover::before {
    opacity: 1;
}

.info-card .icon {
    font-size: 40px;
    color: var(--gold);
    margin-bottom: 12px;
}

.info-card h3 {
    font-family: "Peyda", sans-serif;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.6;
}

.info-card p {
    color: var(--muted);
    line-height: 2;
    font-size: 15px;
    display: block;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin: 32px 0 8px;
}

.contact-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--rad);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    direction: rtl;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.contact-card .icon {
    font-size: 36px;
    color: var(--gold);
}

.contact-card .cta {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
}

.contact-card h4 {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}

.form-wrap {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--rad);
    padding: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    direction: rtl;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    direction: rtl;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    color: #fff;
    transition: all 0.35s ease;
    font-size: 15px;
    font-family: "Peyda", sans-serif;
    direction: rtl;
    text-align: right;
    line-height: 1.8;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(224, 194, 151, 0.18);
}

.form-grid textarea {
    grid-column: 1/-1;
    min-height: 130px;
    resize: vertical;
}

.form-grid button {
    grid-column: 1/-1;
    justify-self: start;
}

.form-grid button i {
    transform: translateY(1px);
}

.faq-acc {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    direction: rtl;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-q {
    width: 100%;
    background: transparent;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    font-weight: 800;
    text-align: right;
    font-size: 16px;
    font-family: "Peyda", sans-serif;
}

.faq-q i {
    transition: transform 0.3s ease;
    margin-right: auto;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.45s ease, padding 0.3s ease;
    color: var(--muted);
    font-size: 15px;
    line-height: 2;
}

.faq-a.open {
    max-height: 400px;
    padding: 12px 20px 18px;
}

.animated-hero {
    height: 52dvh;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(to bottom, rgba(10, 18, 21, 0.84), rgba(10, 18, 21, 0.97)), radial-gradient(circle at 32% 42%, rgba(224, 194, 151, 0.12), transparent 44%), radial-gradient(circle at 68% 68%, rgba(224, 194, 151, 0.09), transparent 46%), radial-gradient(circle at 50% 18%, rgba(224, 194, 151, 0.045), transparent 50%), var(--bg);
    direction: rtl;
}

.animated-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(224, 194, 151, 0.035) 1px, transparent 1px), linear-gradient(180deg, rgba(224, 194, 151, 0.025) 1px, transparent 1px);
    background-size: 78px 78px;
    opacity: 0.32;
    pointer-events: none;
    z-index: 0;
    animation: heroGridMove 30s linear infinite;
}

.animated-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 35% 45%, rgba(224, 194, 151, 0.11), transparent 46%), radial-gradient(circle at 65% 70%, rgba(224, 194, 151, 0.08), transparent 48%);
    pointer-events: none;
    z-index: 1;
    animation: heroGlow 20s ease-in-out infinite;
}

@keyframes heroGridMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 78px 78px;
    }
}

@keyframes heroGlow {

    0%,
    100% {
        opacity: 0.72;
    }

    50% {
        opacity: 1;
    }
}

.animated-hero__pattern {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.animated-hero__content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    padding: 0 18px;
    direction: rtl;
}

.animated-hero__eyebrow {
    color: var(--gold);
    font-weight: 900;
    letter-spacing: 0;
    font-size: 13px;
    margin-bottom: 10px;
    text-transform: none;
    line-height: 1.8;
}

.animated-hero__title {
    font-family: "Peyda", sans-serif;
    font-size: clamp(34px, 5.6vw, 68px);
    line-height: 1.35;
    margin: 0 0 14px;
    color: #fff;
    font-weight: 900;
}

.animated-hero__desc {
    font-size: 15px;
    color: var(--muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 2;
    display: block;
}

.hero-card {
    position: absolute;
    width: 92px;
    height: 92px;
    border-radius: 26px;
    border: 1px solid rgba(224, 194, 151, 0.2);
    background: linear-gradient(135deg, rgba(224, 194, 151, 0.105), rgba(255, 255, 255, 0.025)), rgba(12, 20, 24, 0.28);
    backdrop-filter: blur(2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28), inset 0 1px 6px rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 27px;
    opacity: 0;
    animation: heroCardFloat 22s ease-in-out infinite;
}

.hero-card i {
    transform: translateY(1px);
    text-shadow: 0 0 18px rgba(224, 194, 151, 0.28);
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 19px;
    border: 1px solid rgba(224, 194, 151, 0.1);
}

.hero-card--1 {
    top: 16%;
    right: 8%;
    left: auto;
    animation-delay: 0s;
}

.hero-card--2 {
    top: 65%;
    right: 15%;
    left: auto;
    animation-delay: 4s;
}

.hero-card--3 {
    top: 18%;
    left: 10%;
    right: auto;
    animation-delay: 8s;
}

.hero-card--4 {
    top: 66%;
    left: 16%;
    right: auto;
    animation-delay: 12s;
}

.hero-card--5 {
    top: 48%;
    right: 61%;
    left: auto;
    animation-delay: 16s;
}

@keyframes heroCardFloat {
    0% {
        transform: translate3d(0, 44px, 0) scale(0.86) rotate(-4deg);
        opacity: 0;
    }

    18% {
        opacity: 0.42;
    }

    50% {
        transform: translate3d(-18px, -28px, 0) scale(1.03) rotate(4deg);
        opacity: 0.66;
    }

    82% {
        opacity: 0.28;
    }

    100% {
        transform: translate3d(14px, -72px, 0) scale(0.86) rotate(-4deg);
        opacity: 0;
    }
}

.hero-line {
    position: absolute;
    height: 1px;
    width: 280px;
    background: linear-gradient(90deg, transparent, rgba(224, 194, 151, 0.42), transparent);
    opacity: 0;
    animation: heroLineFlow 18s ease-in-out infinite;
}

.hero-line--1 {
    top: 31%;
    right: 10%;
    left: auto;
    transform: rotate(-18deg);
    animation-delay: 2s;
}

.hero-line--2 {
    top: 64%;
    left: 9%;
    right: auto;
    transform: rotate(18deg);
    animation-delay: 7s;
}

.hero-line--3 {
    top: 48%;
    right: 50%;
    left: auto;
    width: 230px;
    transform: rotate(0deg);
    animation-delay: 12s;
}

@keyframes heroLineFlow {
    0% {
        opacity: 0;
        transform: translateX(36px) rotate(-18deg);
    }

    38% {
        opacity: 0.48;
    }

    72% {
        opacity: 0.18;
    }

    100% {
        opacity: 0;
        transform: translateX(-42px) rotate(-18deg);
    }
}

.animated-hero--contact .hero-card {
    border-radius: 24px;
}

.animated-hero--about .hero-card {
    border-radius: 50%;
}

.animated-hero--about .hero-card::before {
    border-radius: 50%;
}

.animated-hero--blog .hero-card,
.animated-hero--category .hero-card {
    border-radius: 22px;
}

.animated-hero--blog .hero-card::before,
.animated-hero--category .hero-card::before {
    border-radius: 16px;
}

.contact-hero.animated-hero,
.about-hero.animated-hero,
.blog-hero.animated-hero,
.category-hero.animated-hero {
    height: 52dvh;
    min-height: 380px;
    display: flex;
    place-items: unset;
    background: linear-gradient(to bottom, rgba(10, 18, 21, 0.84), rgba(10, 18, 21, 0.97)), radial-gradient(circle at 32% 42%, rgba(224, 194, 151, 0.12), transparent 44%), radial-gradient(circle at 68% 68%, rgba(224, 194, 151, 0.09), transparent 46%), radial-gradient(circle at 50% 18%, rgba(224, 194, 151, 0.045), transparent 50%), var(--bg);
}

.contact-hero.animated-hero::before,
.about-hero.animated-hero::before,
.blog-hero.animated-hero::before,
.category-hero.animated-hero::before {
    background: linear-gradient(90deg, rgba(224, 194, 151, 0.035) 1px, transparent 1px), linear-gradient(180deg, rgba(224, 194, 151, 0.025) 1px, transparent 1px);
    background-size: 78px 78px;
}

.google-maps-btn {
    direction: rtl;
    font-family: "Peyda", sans-serif;
}

.google-maps-btn i {
    margin-left: 4px;
}

@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {

    .animated-hero,
    .contact-hero.animated-hero,
    .about-hero.animated-hero,
    .blog-hero.animated-hero,
    .category-hero.animated-hero {
        height: 46dvh;
        min-height: 320px;
    }

    .animated-hero__title {
        font-size: 40px;
    }

    .animated-hero__desc {
        font-size: 13px;
    }

    .hero-card {
        width: 64px;
        height: 64px;
        border-radius: 18px;
        font-size: 20px;
    }

    .hero-card::before {
        inset: 9px;
        border-radius: 13px;
    }

    .hero-line {
        width: 180px;
    }

    .hero-card--1 {
        right: 3%;
        left: auto;
    }

    .hero-card--2 {
        right: 8%;
        left: auto;
    }

    .hero-card--3 {
        left: 4%;
        right: auto;
    }

    .hero-card--4 {
        left: 8%;
        right: auto;
    }

    .hero-card--5 {
        right: 58%;
        left: auto;
    }
}

@media (max-width: 680px) {

    .info-grid,
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .map-wrap {
        height: 360px;
    }
}

@media (max-width: 520px) {
    .head h2 {
        font-size: 27px;
    }

    .info-card,
    .form-wrap,
    .contact-card {
        padding: 20px;
    }

    .faq-q {
        font-size: 15px;
        padding: 16px;
    }

    .faq-a.open {
        padding: 10px 16px 16px;
    }
}