:root {
    --bg: #f2f8ff;
    --bg-soft: #e6f0ff;
    --card: #ffffff;
    --text: #1a2940;
    --muted: #5d6e88;
    --primary: #1d4ed8;
    --primary-dark: #1e40af;
    --secondary: #0ea5a6;
    --accent: #f59e0b;
    --border: #cfddf2;
    --border-strong: rgba(29, 78, 216, 0.42);
    --ring: rgba(29, 78, 216, 0.3);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Cairo", sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 10% 10%, rgba(14, 165, 166, 0.16) 0%, rgba(14, 165, 166, 0) 36%), radial-gradient(circle at 86% 14%, rgba(29, 78, 216, 0.17) 0%, rgba(29, 78, 216, 0) 34%), radial-gradient(circle at 70% 95%, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0) 34%), linear-gradient(180deg, #fbfdff 0%, var(--bg) 64%);
    line-height: 1.75;
}

.container {
    width: min(1120px, 92%);
    margin-inline: auto;
}

.hero {
    position: relative;
    overflow: hidden;
    padding-bottom: 42px;
}

.hero-glow {
    position: absolute;
    left: -160px;
    top: -120px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 98, 254, 0.14) 0%, rgba(15, 98, 254, 0) 72%);
    pointer-events: none;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 24px 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    line-height: 1;
}

.brand img {
    width: 52px;
    height: auto;
    display: block;
    filter: drop-shadow(0 3px 8px rgba(24, 59, 119, 0.18));
}

.brand-text {
    font-size: 1.26rem;
    font-weight: 800;
    color: #12315f;
}

.hero-content {
    padding: 40px 0 24px;
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: center;
}

.hero-copy {
    max-width: 760px;
}

.hero-media {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 18px 45px rgba(23, 57, 112, 0.17);
}

.hero-media img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
    filter: saturate(1.08) contrast(1.05);
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(220deg, rgba(255, 255, 255, 0.08), rgba(15, 98, 254, 0.12));
    pointer-events: none;
}

h1 {
    margin: 10px 0;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.35;
}

.subtitle {
    color: var(--muted);
    max-width: 760px;
    font-size: 1.1rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #2a3f5f;
    font-weight: 700;
}

.tag::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 6px rgba(14, 165, 166, 0.2);
}

.hero-actions {
    margin-top: 26px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    border: 0;
    text-decoration: none;
    font-weight: 700;
    border-radius: 14px;
    padding: 13px 22px;
    transition: 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 10px 28px rgba(29, 78, 216, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--text);
    background: #ffffff;
}

.btn-outline:hover,
.btn-glass:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.btn-glass {
    color: var(--text);
    background: #ffffff;
    border: 1px solid var(--border);
}

.btn-whatsapp {
    color: #ffffff;
    background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
    border: 1px solid rgba(22, 163, 74, 0.55);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.28);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    filter: saturate(1.05);
}

.highlights {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}


/* Ready products slider (Swiper) */

.productsSlider {
    margin: 12px 0 0;
}

.productsSwiper {
    overflow: hidden;
    padding: 8px 0 0;
    height: 220px;
}

.productsSlider+.section {
    padding-top: 28px;
}

.productsSwiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.productsSwiper .swiper-slide {
    width: auto;
}

.productSlideLink {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.productSlideCard {
    position: relative;
    width: 280px;
}

.productSlideImage {
    width: 280px;
    height: 190px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .22);
    display: block;
}

.productSlideMeta {
    position: absolute;
    inset-inline: 10px;
    inset-block-end: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(5, 15, 31, .18), rgba(5, 15, 31, .82));
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(4px);
}

.productSlideMeta h3 {
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
    color: #fff;
    font-weight: 800;
}

.productSlideMeta p {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(231, 240, 255, .92);
    max-width: 240px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 980px) {
    .productSlideCard,
    .productSlideImage {
        width: 240px;
        height: 170px;
    }
}

@media (max-width: 520px) {
    .productSlideCard,
    .productSlideImage {
        width: 76vw;
        height: 220px;
    }
    .productSlideMeta p {
        max-width: 65vw;
    }
}

.highlights li {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 7px 14px;
    color: #2e4f7a;
    font-size: 0.95rem;
}

.section {
    padding: 74px 0;
}

.section h2 {
    margin: 10px 0 0;
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
}

.cards {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 14px 14px 20px;
    box-shadow: 0 10px 28px rgba(24, 57, 112, 0.1);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--border-strong);
    box-shadow: 0 15px 34px rgba(24, 57, 112, 0.14);
}

.card-image {
    width: 100%;
    height: 185px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
}

.card h3 {
    margin: 0 0 8px;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.slider-section {
    padding-top: 50px;
}

.showcase-slider {
    margin-top: 30px;
    position: relative;
    border-radius: 26px;
    border: 1px solid #d5e1f3;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
    box-shadow: 0 16px 35px rgba(35, 78, 160, 0.14);
    padding: 10px 10px 12px;
    max-width: 920px;
    margin-inline: auto;
}

.slider-viewport {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid #dbe5f6;
    direction: ltr;
    background: #edf3ff;
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.slide {
    min-width: 100%;
    position: relative;
    isolation: isolate;
}

.slide img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    display: block;
    transform: none;
    transition: transform 0.6s ease;
    image-rendering: auto;
}

.slide.is-active img {
    transform: none;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 45, 88, 0.06) 30%, rgba(14, 35, 69, 0.55) 100%);
    z-index: 1;
}

.slide-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.96);
    color: #21467e;
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 999px;
    padding: 6px 13px;
    font-size: 0.84rem;
    font-weight: 700;
    direction: rtl;
}

.slide-caption {
    position: absolute;
    right: 14px;
    left: 14px;
    bottom: 14px;
    z-index: 2;
    color: #f8fbff;
    background: linear-gradient(135deg, rgba(13, 34, 68, 0.86), rgba(18, 57, 110, 0.72));
    border: 1px solid rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(4px);
    border-radius: 14px;
    padding: 10px 13px;
    font-weight: 700;
    direction: rtl;
    text-align: right;
    font-size: 0.95rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #d4e0f3;
    background: rgba(255, 255, 255, 0.97);
    color: #1d4ed8;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 8px 18px rgba(29, 78, 216, 0.15);
    transition: 0.2s ease;
}

.slider-btn:hover {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
    transform: translateY(-50%) scale(1.05);
}

.slider-btn-prev {
    right: 10px;
}

.slider-btn-next {
    left: 10px;
}

.slider-dots {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    background: #c9d9f0;
    cursor: pointer;
    transition: 0.2s ease;
}

.slider-dot.is-active {
    width: 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.slider-progress {
    margin: 8px auto 0;
    width: min(620px, 92%);
    height: 4px;
    background: #d7e3f5;
    border-radius: 999px;
    overflow: hidden;
}

.slider-progress-bar {
    display: block;
    height: 100%;
    width: 20%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.35s ease;
}

.slider-meta {
    margin-top: 7px;
    display: flex;
    justify-content: center;
}

.slider-count {
    font-size: 0.82rem;
    font-weight: 700;
    color: #4a6490;
    background: #edf3ff;
    border: 1px solid #d2dff3;
    border-radius: 999px;
    padding: 4px 10px;
}

.gallery-section {
    padding-top: 16px;
}

.ac-section {
    padding-top: 20px;
}

.ac-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ac-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 10px 24px rgba(24, 57, 112, 0.09);
}

.ac-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 11px;
    border: 1px solid var(--border);
}

.ac-card h3 {
    margin: 10px 0 6px;
}

.ac-card p {
    margin: 0;
    color: var(--muted);
}

.gallery-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: 0 12px 28px rgba(24, 57, 112, 0.11);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.gallery-grid img:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: var(--border-strong);
}

.faq-section {
    padding-top: 16px;
}

.faq-list {
    margin-top: 28px;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--text);
}

.faq-item p {
    margin: 10px 0 0;
    color: var(--muted);
}

.section-dark {
    background: linear-gradient(180deg, #eef5ff, #e4efff);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.features-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.features-text p {
    color: var(--muted);
    max-width: 540px;
}

.feature-list {
    display: grid;
    gap: 12px;
}

.feature-item {
    display: flex;
    gap: 14px;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
}

.feature-item span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    background: rgba(15, 98, 254, 0.12);
    border: 1px solid rgba(15, 98, 254, 0.35);
    color: #1048b7;
}

.feature-item p {
    margin: 0;
}

.cta {
    text-align: center;
}

.cta p {
    color: var(--muted);
    margin-bottom: 24px;
}

.cta-btn {
    font-size: 1.1rem;
    padding: 14px 28px;
}

.cta-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    background: #e8f2ff;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.footer a {
    color: #0f62fe;
    text-decoration: none;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.floating-actions {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 25;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.floating-call,
.floating-whatsapp {
    position: fixed;
    text-decoration: none;
    color: white;
    font-weight: 800;
    border-radius: 999px;
    padding: 11px 16px;
    min-width: 86px;
    text-align: center;
}

.floating-call {
    position: static;
    background: linear-gradient(135deg, var(--secondary) 0%, #0891b2 100%);
    box-shadow: 0 10px 25px rgba(8, 145, 178, 0.28);
}

.floating-whatsapp {
    position: static;
    background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 var(--ring);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(79, 140, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(79, 140, 255, 0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.5s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .cards,
    .features-wrap,
    .ac-grid {
        grid-template-columns: 1fr;
    }
    .slide img {
        height: 220px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .nav-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .hero-media {
        order: -1;
    }
    .hero-content {
        padding-top: 20px;
    }
}

@media (max-width: 560px) {
    .brand img {
        width: 44px;
    }
    .brand-text {
        font-size: 1.05rem;
    }
    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
    }
    .navbar {
        align-items: flex-start;
    }
    .nav-actions {
        width: 100%;
        justify-content: flex-start;
    }
    .nav-actions .btn {
        flex: 1 1 calc(50% - 6px);
        padding: 11px 12px;
    }
    .showcase-slider {
        padding: 8px 8px 10px;
    }
    .slide img {
        height: 180px;
    }
    .slide-caption {
        font-size: 0.82rem;
        right: 10px;
        left: 10px;
        bottom: 10px;
    }
    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid img {
        height: 210px;
    }
    .floating-actions {
        left: 14px;
        bottom: 14px;
    }
}