@import url('https://fonts.googleapis.com/css2?family=Aref+Ruqaa:wght@400;700&family=Amiri:ital,wght@0,400;0,700;1,400;1,700&display=swap');

.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--beige) 0%, var(--beige-dark) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 90px;
}

.hero__bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: radial-gradient(var(--primary) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    z-index: 0;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 300px;
    background: linear-gradient(to bottom, var(--primary-glow), transparent);
    z-index: 1;
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    max-width: 1320px;
    margin: 0 auto;
    padding: 80px 48px 90px;
    width: 100%;
    direction: rtl;
}

.hero__text {
    direction: rtl;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 5;
    padding-right: 25px;
    border-right: 3px solid var(--secondary);
    position: relative;
}

.hero__text::before {
    content: '❝';
    position: absolute;
    top: -40px;
    right: -20px;
    font-size: 150px;
    font-family: 'Amiri', serif;
    color: var(--secondary);
    opacity: 0.1;
    z-index: -1;
    line-height: 1;
}

.hero__subtitle {
    font-family: 'Aref Ruqaa', serif;
    font-size: 70px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: -20px;
    position: relative;
    display: inline-block;
    width: fit-content;
    animation: fadeUp .8s ease both;
    text-shadow: 2px 4px 10px rgba(139, 94, 60, 0.2);
}

.hero__subtitle::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 10px;
    right: 10px;
    height: 1.5px;
    background: var(--secondary);
    opacity: 0.7;
}

.hero__h1 {
    font-family: 'Amiri', serif;
    font-size: clamp(45px, 6vw, 85px);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-dark);
    margin: 0;
    animation: fadeUp .8s ease .1s both;
    letter-spacing: -2px;
}

.hero__highlight {
    font-family: 'Aref Ruqaa', serif;
    font-size: 1.4em;
    font-weight: 700;
    display: inline-block;
    padding: 0 5px;

    background: linear-gradient(120deg, var(--secondary-light) 0%, var(--secondary) 40%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    transform: rotate(-4deg) translateY(12px) translateX(10px);
    filter: drop-shadow(2px 4px 6px rgba(139, 94, 60, 0.2));
    position: relative;
    z-index: 2;
}

.hero__p {
    font-family: 'Cairo', sans-serif;
    font-size: 20px;
    line-height: 2;
    color: var(--primary);
    max-width: 550px;
    font-weight: 600;
    letter-spacing: 0.5px;
    animation: fadeUp .8s ease .2s both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.seo-block {
    background: var(--beige-dark);
    padding: 60px 40px;
    border-top: 1px solid rgba(201, 164, 108, 0.2);
    font-family: 'Cairo', sans-serif;
    color: var(--primary-dark);
    direction: rtl;
    text-align: right;
}

.seo-block__inner {
    max-width: 1320px;
    margin: 0 auto;
}

.seo-block__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.seo-block__col h3 {
    font-family: 'Amiri', serif;
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.seo-block__col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.seo-block__col p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--primary);
    margin-bottom: 15px;
}

.seo-block__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.seo-block__col ul li {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(201, 164, 108, 0.3);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--primary-dark);
    transition: all 0.3s ease;
}

.seo-block__col ul li:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.hero__btns {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 15px;
    animation: fadeUp .8s ease .3s both;
}

.btn-royal,
.btn-outline {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    font-weight: 800;
    font-size: 16px;
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    letter-spacing: 1px;
    cursor: pointer;
    background: transparent;
    z-index: 1;
    transition: color 0.4s ease;
}

.btn-royal::before,
.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    clip-path: polygon(12px 0, calc(100% - 12px) 0,
            100% 12px, 100% calc(100% - 12px),
            calc(100% - 12px) 100%, 12px 100%,
            0 calc(100% - 12px), 0 12px);
}

.btn-royal::after,
.btn-outline::after {
    content: '';
    position: absolute;
    inset: 5px;
    z-index: -1;
    border: 1px solid transparent;
    transition: all 0.5s ease;
    clip-path: polygon(8px 0, calc(100% - 8px) 0,
            100% 8px, 100% calc(100% - 8px),
            calc(100% - 8px) 100%, 8px 100%,
            0 calc(100% - 8px), 0 8px);
}

.btn-royal {
    color: #fff;
}

.btn-royal::before {
    background: var(--primary);
}

.btn-royal::after {
    border-color: rgba(212, 185, 142, 0.4);
}

.btn-royal i {
    color: var(--secondary-light);
    font-size: 18px;
    transition: transform 0.4s ease;
}

.btn-royal:hover::before {
    background: var(--primary-dark);
    transform: scale(0.96);
}

.btn-royal:hover::after {
    border-color: var(--secondary-light);
    inset: 3px;
}

.btn-royal:hover i {
    transform: rotate(15deg) scale(1.1);
}

.btn-outline {
    color: var(--primary-dark);
}

.btn-outline::before {
    background: var(--beige-dark);
    border: 2px solid var(--secondary);
    background: var(--beige);
}

.btn-outline {
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.05));
    border: none;
}

.btn-outline::before {
    background: #fff;
}

.btn-outline::after {
    border-color: var(--secondary);
    border-width: 1.5px;
    border-style: solid;
}

.btn-outline:hover {
    color: var(--primary);
}

.btn-outline:hover::before {
    background: var(--beige-dark);
}

.btn-outline:hover::after {
    border-width: 2px;
    border-style: solid;
    inset: 3px;
}

.hero__elegant-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    animation: fadeUp 1s ease .4s both;
}

.hf__img {
    position: relative;
    width: 360px;
    height: 480px;
    border-top-left-radius: 180px;
    border-top-right-radius: 180px;
    overflow: hidden;
    z-index: 3;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hf__img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stories-section {
    padding: 15px 0;
    background: #fff;
    border-bottom: 1px solid rgba(201, 164, 108, 0.15);
    position: relative;
    z-index: 10;
}

.stories-section::-webkit-scrollbar {
    display: none;
}

.stories-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0 20px;
    max-width: 1320px;
    margin: 0 auto;
    justify-content: center;
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    flex-shrink: 0;
    width: 85px;
}

.story-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    position: relative;
    padding: 3px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.story-item:hover .story-circle {
    transform: scale(1.08) rotate(3deg);
}

.story-circle video {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    background: #000;
}

.story-item span {
    font-family: 'Cairo', sans-serif;
    font-size: 11px;
    color: var(--primary-dark);
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.story-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.story-modal-content {
    position: relative;
    width: 90%;
    max-width: 400px;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-modal-content video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(201, 164, 108, 0.2);
}

.close-story {
    position: absolute;
    top: -45px;
    right: 0;
    color: #fff;
    font-size: 35px;
    font-weight: 300;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.close-story:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .story-item {
        width: 75px;
    }

    .story-circle {
        width: 66px;
        height: 66px;
    }

    .story-modal-content {
        height: 75vh;
    }
}

.hf__img:hover img {
    transform: scale(1.05);
}

.hf__border {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 45px;
    right: 45px;
    border: 1.5px solid var(--secondary);
    border-top-left-radius: 170px;
    border-top-right-radius: 170px;
    z-index: 4;
    pointer-events: none;
}

.hf__pattern {
    position: absolute;
    bottom: 0;
    right: 15px;
    width: 120px;
    height: 120px;
    background: radial-gradient(var(--secondary) 2px, transparent 2px);
    background-size: 15px 15px;
    z-index: 1;
    opacity: 0.4;
}

.hf__badge {
    position: absolute;
    z-index: 5;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 14px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    direction: rtl;
    text-align: right;
    border-radius: 4px;
}

.hf__badge strong {
    font-family: 'Cairo', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
}

.hf__badge span {
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-500);
    margin-top: 4px;
}

.hf__badge--top {
    top: 80px;
    right: -10px;
    border-right: 3px solid var(--secondary);
    animation: float1 4s ease-in-out infinite;
}

.hf__badge--side {
    bottom: 60px;
    left: -20px;
    border-left: 3px solid var(--secondary);
    animation: float2 5s ease-in-out infinite;
}

@keyframes float1 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 960px) {
    .hero {
        min-height: auto;
        overflow: visible;
        padding-bottom: 60px;
    }
    .hero__inner {
        grid-template-columns: 1fr;
        direction: rtl;
        padding: 50px 24px 90px;
        gap: 55px;
    }

    .hero__text {
        text-align: right;
        align-items: flex-start;
        padding-right: 0;
        border-right: none;
        gap: 20px;
    }

    .hero__text::before {
        font-size: 80px;
        top: -30px;
        right: 0;
    }

    .hero__subtitle {
        font-size: 32px;
        margin-bottom: 0;
    }

    .hf__img {
        width: 320px;
        height: 420px;
        border-top-left-radius: 160px;
        border-top-right-radius: 160px;
    }

    .hf__border {
        left: 55px;
        right: 55px;
        top: 25px;
        bottom: 25px;
    }
}

@media (max-width: 560px) {
    .hero__inner {
        padding: 30px 15px 50px;
        gap: 30px;
    }

    .hero__text {
        gap: 15px;
    }

    .hero__subtitle {
        font-size: 26px;
        line-height: 1.2;
    }

    .hero__h1 {
        font-size: 28px;
        line-height: 1.4;
        letter-spacing: -1px;
    }

    .hero__highlight {
        font-size: 1.2em;
        transform: none;
        display: inline;
        padding: 0;
        background: none;
        -webkit-text-fill-color: initial;
        color: var(--secondary);
    }

    .hero__p {
        font-size: 15px;
        line-height: 1.7;
        max-width: 100%;
        margin-right: 0;
        padding-right: 5px;
    }

    .hero__btns {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 8px;
    }

    .btn-royal,
    .btn-outline {
        width: fit-content;
        min-width: 130px;
        padding: 10px 16px;
        font-size: 14px;
        flex: none;
    }

    .hf__img {
        width: 280px;
        height: 380px;
        border-top-left-radius: 140px;
        border-top-right-radius: 140px;
    }

    .hf__badge--top {
        top: 30px;
        right: 0;
    }

    .hf__badge--side {
        bottom: 30px;
        left: 0;
    }

    .hf__border {
        left: 45px;
        right: 45px;
    }
}

.services {
    padding: 100px 0 110px;
    background: var(--beige-dark);
    position: relative;
    overflow: hidden;
    direction: rtl;
}

.services::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 164, 108, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.services__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.sec__head {
    text-align: center;
    margin-bottom: 64px;
}

.sec__tag {
    display: inline-block;
    font-family: 'Aref Ruqaa', serif;
    font-size: 18px;
    color: var(--secondary);
    letter-spacing: 4px;
    text-transform: uppercase;
    border: 1px solid var(--secondary);
    padding: 4px 20px;
    border-radius: 2px;
    margin-bottom: 18px;
}

.sec__title {
    font-family: 'Amiri', serif;
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 700;
    color: var(--primary-dark);
    margin: 10px 0 16px;
    line-height: 1.3;
}

.sec__title-accent {
    color: var(--secondary);
}

.sec__desc {
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: var(--primary);
    max-width: 540px;
    margin: 0 auto;
}

.srv__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.srv__card {
    position: relative;
    height: 420px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.4s ease;
}

.srv__card:hover {
    box-shadow: 0 30px 60px rgba(30, 18, 8, 0.45), inset 0 0 0 1.5px rgba(201, 164, 108, 0.55);
}

.srv__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.srv__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.srv__card:hover .srv__img img {
    transform: scale(1.1);
}

.srv__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(30, 18, 8, 0.9) 0%,
            rgba(30, 18, 8, 0.5) 40%,
            rgba(30, 18, 8, 0.1) 70%,
            transparent 100%);
    transition: background 0.4s ease;
}

.srv__card:hover .srv__img::after {
    background: linear-gradient(to top,
            rgba(30, 18, 8, 0.95) 0%,
            rgba(30, 18, 8, 0.6) 50%,
            rgba(30, 18, 8, 0.15) 80%,
            transparent 100%);
}

.srv__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 28px 32px;
    direction: rtl;
    text-align: right;
    z-index: 2;
    transform: translateY(8px);
    transition: transform 0.4s ease;
}

.srv__card:hover .srv__body {
    transform: translateY(0);
}

.srv__card h3 {
    font-family: 'Amiri', serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.3;
}

.srv__card p {
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.srv__card:hover p {
    max-height: 100px;
    opacity: 1;
}

.srv__link {
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
    display: inline-block;
    margin-top: 14px;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease 0.15s, transform 0.3s ease 0.15s;
}

.srv__card:hover .srv__link {
    opacity: 1;
    transform: translateY(0);
}

.srv__link:hover {
    color: #fff;
}

.srv__badge-feat {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    background: var(--secondary);
    color: var(--primary-dark);
    font-family: 'Cairo', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 2px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.srv__card--featured {
    grid-row: span 1;
}

@media (max-width: 900px) {
    .srv__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2px;
    }

    .srv__card {
        height: 360px;
    }
}

@media (max-width: 560px) {
    .srv__grid {
        grid-template-columns: 1fr;
    }

    .srv__card {
        height: 300px;
    }

    .services {
        padding: 70px 0 80px;
    }
}

/* Why us  */
.why-us {
    padding: 110px 0;
    background: var(--beige);
    direction: rtl;
}

.wu__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.wu__img-wrap {
    position: relative;
}

.wu__img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.wu__years-badge {
    position: absolute;
    bottom: -28px;
    left: -28px;
    width: 120px;
    height: 120px;
    background: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: 5px solid var(--beige);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.wu__years-num {
    font-family: 'Amiri', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
}

.wu__years-label {
    font-family: 'Cairo', sans-serif;
    font-size: 11px;
    color: var(--beige);
    letter-spacing: 0.5px;
}

.wu__content {
    display: flex;
    flex-direction: column;
    gap: 28px;
    text-align: right;
}

.wu__title {
    font-family: 'Amiri', serif;
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.4;
    margin: 0;
}

.wu__accent {
    color: var(--secondary);
}

.wu__desc {
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    line-height: 1.9;
    color: var(--primary);
    margin: 0;
}

.wu__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wu__features li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: right;
}

.wu__feat-icon {
    font-size: 14px;
    color: var(--secondary);
    margin-top: 4px;
    flex-shrink: 0;
}

.wu__features strong {
    display: block;
    font-family: 'Amiri', serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.wu__features p {
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--primary);
    margin: 0;
}

.wu__stats {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 28px 30px;
    background: var(--primary-dark);
    border-radius: 4px;
}

.wu__stat {
    flex: 1;
    text-align: center;
}

.wu__stat strong {
    display: block;
    font-family: 'Amiri', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
}

.wu__stat span {
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    color: rgba(245, 241, 234, 0.7);
    margin-top: 4px;
    display: block;
}

.wu__stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(201, 164, 108, 0.3);
}

@media (max-width: 900px) {
    .wu__inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .wu__img {
        height: 400px;
    }

    .wu__years-badge {
        left: 16px;
        bottom: 16px;
    }
}

/* PORTFOLIO SECTION */
.portfolio {
    padding: 100px 0 80px;
    background: var(--dark-800);
    direction: rtl;
}

.portfolio .sec__tag {
    border-color: rgba(201, 164, 108, 0.4);
    color: var(--secondary);
}

.portfolio .sec__title {
    color: var(--beige);
}

.portfolio .sec__desc {
    color: rgba(245, 241, 234, 0.65);
}

.pf__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.pf__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    grid-template-rows: 320px 240px;
    gap: 6px;
    margin-bottom: 48px;
}

.pf__item--tall {
    grid-row: span 2;
}

.pf__col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pf__col .pf__item {
    flex: 1;
}

.pf__item--wide {
    grid-column: span 1;
}

.pf__item {
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.pf__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pf__item:hover img {
    transform: scale(1.08);
}

.pf__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 18, 8, 0.85) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.pf__item:hover .pf__overlay {
    opacity: 1;
}

.pf__overlay span {
    font-family: 'Amiri', serif;
    font-size: 18px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pf__overlay span::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--secondary);
    display: inline-block;
}

.pf__cta {
    text-align: center;
    margin-top: 12px;
}

@media (max-width: 900px) {
    .pf__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .pf__item--tall {
        grid-row: span 1;
        height: 260px;
    }

    .pf__col {
        gap: 6px;
    }

    .pf__col .pf__item {
        height: 127px;
    }

    .pf__item--wide {
        height: 220px;
    }
}

@media (max-width: 560px) {
    .pf__grid {
        grid-template-columns: 1fr;
    }

    .pf__item,
    .pf__item--tall,
    .pf__item--wide {
        height: 240px;
    }
}

/* TESTIMONIALS SECTION */
.testimonials {
    padding: 100px 0 110px;
    background: var(--beige-dark);
    direction: rtl;
}

.tm__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.tm__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 60px;
}

.tm__card {
    background: var(--beige);
    border: 1px solid rgba(201, 164, 108, 0.2);
    border-radius: 4px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.tm__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(139, 94, 60, 0.1);
}

.tm__card--featured {
    background: var(--primary-dark);
    border-color: transparent;
}

.tm__card--featured .tm__text,
.tm__card--featured .tm__author strong,
.tm__card--featured .tm__stars {
    color: var(--beige);
}

.tm__card--featured .tm__author span {
    color: rgba(245, 241, 234, 0.6);
}

.tm__quote-mark {
    position: absolute;
    top: 20px;
    left: 28px;
    font-family: 'Amiri', serif;
    font-size: 80px;
    color: var(--secondary);
    opacity: 0.2;
    line-height: 1;
    pointer-events: none;
}

.tm__stars {
    color: var(--secondary);
    font-size: 18px;
    letter-spacing: 2px;
}

.tm__text {
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    line-height: 1.9;
    color: var(--primary);
    flex: 1;
    margin: 0;
}

.tm__author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tm__avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--primary-dark);
    font-family: 'Amiri', serif;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tm__author strong {
    display: block;
    font-family: 'Amiri', serif;
    font-size: 17px;
    color: var(--primary-dark);
}

.tm__author span {
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    color: var(--primary-light);
}

@media (max-width: 900px) {
    .tm__grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* CTA SECTION */
.cta-section {
    padding: 120px 40px;
    background: var(--primary-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
    direction: rtl;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 164, 108, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.cta__inner {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.cta__title {
    font-family: 'Amiri', serif;
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 700;
    color: var(--beige);
    line-height: 1.35;
    margin: 0;
}

.cta__title span {
    color: var(--secondary);
}

.cta__desc {
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    color: rgba(245, 241, 234, 0.65);
    line-height: 1.8;
    margin: 0;
}

.cta__btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

.story-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    cursor: pointer;
    z-index: 10100;
    padding: 30px;
    transition: 0.3s;
    user-select: none;
    opacity: 0.7;
}

.story-nav:hover {
    color: var(--secondary);
    transform: translateY(-50%) scale(1.2);
    opacity: 1;
}

.story-nav--prev {
    left: 20px;
}

.story-nav--next {
    right: 20px;
}

@media (max-width: 768px) {
    .story-nav {
        font-size: 35px;
        padding: 15px;
    }

    .story-nav--prev {
        left: 5px;
    }

    .story-nav--next {
        right: 5px;
    }
}