:root {
  --primary: #00a7e2;
  --primary-dark: #007da9;
  --navy: #15134f;
  --navy-soft: #292474;
  --ink: #151827;
  --muted: #62687a;
  --white: #fff;
  --surface: #f3f8fc;
  --line: #e1e7f0;
  --success: #138a5b;
  --danger: #c63c4a;
  --shadow: 0 8px 24px rgba(23, 23, 85, .09);
  --shadow-lg: 0 18px 44px rgba(23, 23, 85, .14);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: .3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { font-family: "Cairo", sans-serif; color: var(--ink); background: var(--white); line-height: 1.7; overflow-x: hidden; }
html[dir="ltr"] body { font-family: "Poppins", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.container { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }
.honeypot { position: absolute !important; inset-inline-start: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 46px; padding: .72rem 1.4rem; border: 0; border-radius: 10px; font-weight: 700; transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition); position: relative; overflow: hidden; }
.btn::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: -120%; width: 70%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-20deg); transition: .6s ease; }
.btn:hover::before { inset-inline-start: 140%; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 8px 20px rgba(4,159,218,.22); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 12px 26px rgba(4,159,218,.3); }
.btn-secondary { color: var(--navy); background: var(--white); border: 2px solid var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-outline { color: var(--primary-dark); background: transparent; border: 1px solid var(--primary); }
.product-card:hover .btn-outline { color: var(--white); border-color: rgba(255,255,255,.85); }
.btn-large { min-height: 54px; padding-inline: 1.8rem; }
.btn-full { width: 100%; }

.header { position: fixed; inset: 0 0 auto; z-index: 1000; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(23,23,85,.06); box-shadow: 0 6px 24px rgba(23,23,85,.06); transition: var(--transition); }
.header.scrolled { backdrop-filter: blur(14px); background: rgba(255,255,255,.92); }
.header-content { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.logo { width: 245px; flex: 0 0 auto; }
.logo-img { width: 100%; height: 66px; object-fit: contain; object-position: right center; }
html[dir="ltr"] .logo-img { object-position: left center; }
.nav-list { display: flex; list-style: none; gap: 1.5rem; align-items: center; }
.nav-link { display: block; padding: .45rem 0; font-size: .94rem; font-weight: 700; position: relative; white-space: nowrap; }
.nav-link::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 0; height: 2px; background: var(--primary); transition: width var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--primary-dark); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: .65rem; }
.language-toggle { height: 42px; padding: 0 .8rem; border-radius: 9px; border: 1px solid var(--line); color: var(--navy); background: var(--white); display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; }
.language-toggle:hover { border-color: var(--primary); color: var(--primary-dark); }
.header-whatsapp { font-size: .92rem; white-space: nowrap; }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 0; border-radius: 9px; background: var(--surface); flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; width: 100%; height: 2px; border-radius: 3px; background: var(--navy); transition: var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

.hero { min-height: 100svh; padding: 150px 0 88px; display: flex; align-items: center; position: relative; overflow: hidden; background: #15134f; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transform: scale(1.04); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(13,12,46,.82) 0%, rgba(13,12,46,.58) 48%, rgba(13,12,46,.28) 100%),
  linear-gradient(180deg, rgba(13,12,46,.35) 0%, transparent 28%, rgba(13,12,46,.45) 100%); }
.hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 120px; z-index: 1; background: linear-gradient(180deg, transparent, #fff); }
.hero-content { display: grid; grid-template-columns: minmax(0, 720px); align-items: center; position: relative; z-index: 2; }
.eyebrow, .section-kicker { color: var(--primary-dark); font-weight: 800; letter-spacing: .02em; }
.eyebrow { display: inline-flex; margin-bottom: .9rem; padding: .35rem .85rem; background: rgba(4,159,218,.09); border-radius: 999px; }
.hero .eyebrow { color: #8fe4ff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); }
.hero-title { font-size: clamp(2.25rem, 4.5vw, 3.75rem); line-height: 1.22; color: var(--navy); margin-bottom: 1.25rem; max-width: 720px; }
.hero .hero-title { color: #fff; background: none; -webkit-text-fill-color: #fff; }
.hero-description { color: var(--muted); font-size: 1.17rem; max-width: 680px; margin-bottom: 1.8rem; }
.hero .hero-description { color: rgba(255,255,255,.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero .btn-secondary { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); }
.hero .btn-secondary:hover { background: #fff; color: var(--navy); }
.hero-contact { margin-top: 1.6rem; display: inline-flex; align-items: center; gap: .75rem; color: var(--muted); }
.hero .hero-contact { color: rgba(255,255,255,.78); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); padding: .55rem .9rem .55rem .55rem; border-radius: 999px; backdrop-filter: blur(10px); }
.hero-contact > i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--white); }
.hero .hero-contact > i { background: var(--primary); }
.hero-contact div { display: flex; flex-direction: column; }
.hero-contact span { font-size: .84rem; }
.hero-contact a { color: var(--navy); font-weight: 800; }
.hero .hero-contact a { color: #fff; }
.hero-animation::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 44% 56% 59% 41% / 46% 45% 55% 54%; background: linear-gradient(145deg, rgba(4,159,218,.13), rgba(23,23,85,.09)); animation: morph 8s ease-in-out infinite; }
.house-animation { width: 260px; height: 270px; position: relative; z-index: 2; filter: drop-shadow(0 22px 22px rgba(23,23,85,.18)); }
.house-base { position: absolute; bottom: 0; left: 50%; width: 230px; height: 24px; transform: translateX(-50%); background: var(--navy); border-radius: 6px; }
.house-body { position: absolute; bottom: 24px; left: 50%; width: 190px; height: 145px; transform: translateX(-50%); background: linear-gradient(145deg, #fff, #dff3fb); border: 10px solid var(--navy); border-top: 0; border-radius: 0 0 10px 10px; }
.house-roof { position: absolute; bottom: 155px; left: 50%; width: 170px; height: 170px; transform: translateX(-50%) rotate(45deg); border-radius: 12px 0; background: var(--primary); border: 10px solid var(--navy); z-index: -1; }
.house-window { position: absolute; width: 46px; height: 46px; bottom: 82px; left: 54px; background: var(--primary); border: 7px solid var(--navy); border-radius: 6px; }
.house-window::before, .house-window::after { content: ""; position: absolute; background: var(--navy); }
.house-window::before { width: 100%; height: 4px; top: 50%; }
.house-window::after { height: 100%; width: 4px; left: 50%; }
.house-door { position: absolute; width: 50px; height: 76px; bottom: 24px; right: 58px; background: var(--navy); border-radius: 7px 7px 0 0; }
.contracting-elements { position: absolute; inset: 0; z-index: 3; }
.tool, .blueprint { position: absolute; display: grid; place-items: center; color: var(--white); box-shadow: var(--shadow-lg); animation: float 3.6s ease-in-out infinite; }
.tool { width: 58px; height: 58px; border-radius: 16px; background: var(--navy); font-size: 1.3rem; }
.tool-1 { top: 14%; left: 11%; }
.tool-2 { right: 8%; bottom: 18%; background: var(--primary); animation-delay: 1.1s; }
.blueprint { left: 22%; bottom: 8%; width: 66px; height: 66px; border-radius: 50%; background: var(--white); color: var(--primary-dark); font-size: 1.55rem; animation-delay: .55s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes morph { 0%,100% { border-radius: 44% 56% 59% 41% / 46% 45% 55% 54%; transform: rotate(0); } 50% { border-radius: 58% 42% 39% 61% / 53% 59% 41% 47%; transform: rotate(8deg); } }

section { padding: 88px 0; }
.section-header { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section-kicker { display: block; margin-bottom: .4rem; font-size: .93rem; }
.section-title { color: var(--navy); font-size: clamp(1.85rem, 3.2vw, 2.65rem); line-height: 1.3; margin-bottom: .9rem; position: relative; }
.section-title::after { content: ""; display: block; width: 74px; height: 4px; margin: .85rem auto 0; border-radius: 999px; background: linear-gradient(90deg, var(--primary), var(--navy)); }
.section-description { color: var(--muted); font-size: 1.05rem; }

.products { background: var(--surface); position: relative; }
.products::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(23,23,85,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(23,23,85,.025) 1px, transparent 1px); background-size: 42px 42px; pointer-events: none; }
.products-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; position: relative; }
.product-card { min-height: 386px; padding: 0 0 1.6rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); text-align: start; position: relative; overflow: hidden; transition: transform var(--transition), box-shadow var(--transition), color var(--transition); z-index: 1; }
.product-media { height: 210px; overflow: hidden; position: relative; margin-bottom: 1.35rem; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .55s ease, filter .4s ease; }
.product-card:hover .product-media img { transform: scale(1.08); filter: saturate(1.05); }
.product-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(21,19,79,.28)); pointer-events: none; }
.product-card .product-title, .product-card .product-description, .product-card .product-hover-content, .product-card .btn { margin-inline: 1.25rem; }
.product-card .btn { width: calc(100% - 2.5rem); }
.product-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, var(--navy), var(--navy-soft)); opacity: 0; transition: opacity var(--transition); z-index: -1; }
.product-card::after { content: ""; position: absolute; width: 130px; height: 130px; border: 28px solid rgba(4,159,218,.13); border-radius: 50%; top: -68px; inset-inline-end: -58px; z-index: -1; }
.product-card:hover { transform: translateY(-9px); box-shadow: var(--shadow-lg); color: var(--white); }
.product-card:hover::before { opacity: 1; }
.product-icon { position: absolute; top: 14px; right: 14px; z-index: 4; width: 52px; height: 52px; margin: 0; border-radius: 16px; display: grid; place-items: center; font-size: 1.25rem; background: rgba(255,255,255,.96); color: var(--primary-dark); box-shadow: 0 10px 22px rgba(21,19,79,.18); border: 1px solid rgba(255,255,255,.7); transition: var(--transition); }
.product-card:hover .product-icon { color: var(--white); background: var(--primary); transform: scale(1.06); }
.product-title { font-size: 1.25rem; color: var(--navy); margin-bottom: .65rem; transition: color var(--transition); }
.product-card:hover .product-title { color: var(--white); }
.product-description { color: var(--muted); min-height: 58px; margin-bottom: 1rem; transition: color var(--transition); }
.product-card:hover .product-description { color: rgba(255,255,255,.8); }
.product-hover-content { margin-bottom: 1.2rem; }
.product-features, .program-features { list-style: none; text-align: start; }
.product-features li, .program-features li { display: flex; align-items: flex-start; gap: .55rem; margin-bottom: .55rem; font-size: .9rem; }
.product-features i, .program-features i { color: var(--primary); margin-top: .28rem; }

.programs-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; }
.program-card { padding: 0 0 1.6rem; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); border-top: 5px solid var(--primary); position: relative; overflow: hidden; text-align: start; transition: var(--transition); }
.program-media { height: 220px; overflow: hidden; margin-bottom: 1.35rem; position: relative; }
.program-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.program-card:hover .program-media img { transform: scale(1.07); }
.program-card .program-title, .program-card .program-description, .program-card .program-features, .program-card .btn { margin-inline: 1.35rem; }
.program-card .btn { width: calc(100% - 2.7rem); }
.program-icon { position: absolute; top: 18px; right: 14px; z-index: 4; width: 52px; height: 52px; margin: 0; border-radius: 16px; display: grid; place-items: center; font-size: 1.25rem; color: var(--white); background: linear-gradient(145deg, var(--primary), var(--primary-dark)); box-shadow: 0 12px 24px rgba(4,159,218,.28); }
.program-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.program-card::before { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; background: rgba(4,159,218,.05); inset-inline-start: -75px; bottom: -80px; }
.program-title { padding-top: .15rem; }
.program-title { color: var(--navy); font-size: 1.35rem; margin-bottom: .6rem; }
.program-description { color: var(--muted); min-height: 58px; margin-bottom: 1.25rem; }
.program-features { margin-bottom: 1.5rem; }

.why-us { background: linear-gradient(145deg, #fff, #f7f9fc); }
.why-us-content { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
.why-us-stats, .why-us-features { display: grid; gap: 1rem; }
.stat-item, .feature-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: var(--transition); }
.stat-item { display: flex; align-items: center; gap: 1rem; padding: 1.4rem; position: relative; overflow: hidden; }
.stat-item::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: var(--primary); }
.stat-item:hover, .feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-icon { flex: 0 0 auto; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; color: var(--white); background: var(--navy); font-size: 1.35rem; }
.stat-heading { color: var(--navy); font-size: 1.15rem; font-weight: 800; }
.stat-label { color: var(--muted); font-size: .92rem; }
.feature-item { display: flex; gap: 1rem; padding: 1.35rem; align-items: flex-start; }
.feature-icon { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; background: rgba(4,159,218,.1); color: var(--primary-dark); font-size: 1.25rem; }
.feature-title { color: var(--navy); font-size: 1.13rem; margin-bottom: .25rem; }
.feature-description { color: var(--muted); font-size: .92rem; }

.testimonials { color: var(--white); background: var(--navy); position: relative; overflow: hidden; }
.testimonials { background-image: linear-gradient(145deg, rgba(17,16,62,.88), rgba(30,26,100,.86)), url("assets/images/process-bg.jpg"); background-size: cover; background-position: center; }
.testimonials::before, .testimonials::after { content: ""; position: absolute; border-radius: 50%; border: 58px solid rgba(4,159,218,.1); width: 260px; height: 260px; }
.testimonials::before { top: -130px; inset-inline-start: -110px; }
.testimonials::after { bottom: -150px; inset-inline-end: -120px; }
.testimonials .section-kicker { color: #67d3f8; }
.testimonials .section-title, .testimonials .section-description { color: var(--white); }
.testimonials .section-title::after { background: var(--primary); }
.testimonials-slider { max-width: 820px; margin: 0 auto; overflow: hidden; position: relative; z-index: 1; }
.testimonial-track { display: flex; transition: transform .5s ease; direction: ltr; }
.testimonial-slide { min-width: 100%; padding: .4rem 1rem; }
.testimonial-card { min-height: 270px; padding: 2.3rem; border-radius: var(--radius-lg); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); position: relative; direction: rtl; text-align: right; }
html[dir="ltr"] .testimonial-card { direction: ltr; text-align: left; }
.process-number { position: absolute; inset-inline-end: 2rem; top: .7rem; font-size: 4.2rem; font-weight: 800; color: rgba(255,255,255,.07); line-height: 1; }
.testimonial-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.client-avatar { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; color: var(--white); background: var(--primary); font-size: 1.4rem; }
.client-name { font-size: 1.35rem; margin-bottom: .15rem; }
.client-location { color: rgba(255,255,255,.62); font-size: .9rem; }
.testimonial-content { color: rgba(255,255,255,.82); font-size: 1.07rem; max-width: 650px; }
.testimonial-nav { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.testimonial-prev, .testimonial-next { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(255,255,255,.07); color: var(--white); }
.testimonial-prev:hover, .testimonial-next:hover { background: var(--primary); }
.testimonial-prev:disabled, .testimonial-next:disabled { opacity: .35; cursor: not-allowed; }
.testimonial-dots { display: flex; gap: .45rem; }
.dot { width: 10px; height: 10px; border: 0; border-radius: 50%; background: rgba(255,255,255,.3); }
.dot.active { width: 28px; border-radius: 99px; background: var(--primary); }

.contact { background: var(--surface); }
.contact-content { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: start; }
.contact-info { display: grid; gap: 1rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); transition: var(--transition); }
.contact-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(4,159,218,.35); }
.contact-icon { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; background: var(--navy); color: var(--white); font-size: 1.2rem; }
.contact-details h3 { color: var(--navy); font-size: 1.08rem; margin-bottom: .1rem; }
.contact-details p { color: var(--muted); overflow-wrap: anywhere; }
.contact-form-container { background: var(--white); border: 1px solid var(--line); padding: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.15rem; }
.form-label { display: block; color: var(--navy); font-weight: 700; margin-bottom: .45rem; }
.form-label small { color: var(--muted); font-weight: 500; }
.form-input { width: 100%; min-height: 48px; padding: .72rem .9rem; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--white); transition: var(--transition); }
textarea.form-input { resize: vertical; min-height: 120px; }
.form-input:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(4,159,218,.11); }
.form-input.invalid { border-color: var(--danger); }
.error-message { display: block; color: var(--danger); font-size: .82rem; min-height: 1.25rem; margin-top: .25rem; }
.form-status { display: none; margin-top: 1rem; padding: .8rem 1rem; border-radius: 9px; font-size: .93rem; }
.form-status.success { display: block; color: #086642; background: #e9f8f1; border: 1px solid #b8e9d4; }
.form-status.error { display: block; color: #9c2534; background: #fff0f2; border: 1px solid #f3c5ca; }
.form-status.loading { display: block; color: var(--navy); background: #eff7fc; border: 1px solid #cceaf7; }

.footer { padding: 64px 0 0; color: var(--white); background: #10103c; }
.footer-content { display: grid; grid-template-columns: 1.6fr .8fr .9fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.footer-logo { width: 255px; height: 86px; object-fit: contain; object-position: right center; background: var(--white); border-radius: 10px; }
html[dir="ltr"] .footer-logo { object-position: left center; }
.footer-description { color: rgba(255,255,255,.7); margin-top: 1rem; max-width: 420px; }
.footer-section h3 { font-size: 1.12rem; margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a, .footer-contact p, .footer-contact a { color: rgba(255,255,255,.7); }
.footer-links a:hover, .footer-contact a:hover { color: #67d3f8; }
.footer-contact p { margin-bottom: .65rem; display: flex; gap: .55rem; align-items: center; }
.footer-bottom { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.62); font-size: .9rem; flex-wrap: wrap; }
.click-solution { display: inline-flex; align-items: center; gap: .35rem; color: #9be7ff; font-weight: 700; white-space: nowrap; }
.click-solution strong { color: #fff; }
.click-solution:hover { color: #fff; }

.modal { display: none; position: fixed; inset: 0; z-index: 2000; padding: 1rem; background: rgba(7,8,28,.72); backdrop-filter: blur(7px); align-items: center; justify-content: center; }
.modal.active { display: flex; animation: fade .25s ease; }
.modal-content { width: min(540px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 2rem; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 26px 70px rgba(0,0,0,.3); position: relative; }
.modal-close { position: absolute; top: 1rem; inset-inline-end: 1rem; width: 38px; height: 38px; border: 0; border-radius: 50%; color: var(--navy); background: var(--surface); }
.modal-header { text-align: center; margin-bottom: 1.5rem; }
.modal-icon { width: 68px; height: 68px; margin: 0 auto .8rem; border-radius: 20px; display: grid; place-items: center; color: var(--white); background: var(--navy); font-size: 1.5rem; }
.modal-header h2 { color: var(--navy); }
.modal-header p { color: var(--muted); }
.selected-service { display: flex; flex-direction: column; gap: .2rem; margin-bottom: 1rem; padding: .8rem 1rem; border-radius: 10px; background: rgba(4,159,218,.08); color: var(--muted); font-size: .86rem; }
.selected-service strong { color: var(--navy); font-size: 1rem; }

.floating-whatsapp { position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 900; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #20b866; color: var(--white); font-size: 1.8rem; box-shadow: 0 12px 28px rgba(32,184,102,.34); transition: var(--transition); }
.floating-whatsapp:hover { transform: translateY(-4px) scale(1.04); }

.fade-in, .fade-in-up { opacity: 0; transition: opacity .7s ease, transform .7s ease; }
.fade-in { transform: translateY(16px); }
.fade-in-up { transform: translateY(26px); }
.fade-in.visible, .fade-in-up.visible { opacity: 1; transform: translateY(0); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.keyboard-navigation :focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

@media (max-width: 1080px) {
  .logo { width: 210px; }
  .nav-list { gap: .95rem; }
  .nav-link { font-size: .85rem; }
  .header-whatsapp span { display: none; }
}

@media (max-width: 1120px) {
  .header-content { min-height: 78px; }
  .logo { width: 200px; }
  .logo-img { height: 58px; }
  .nav-toggle { display: flex; }
  .nav { position: fixed; top: 78px; inset-inline: 0; background: var(--white); border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 1rem; transform: translateY(-130%); opacity: 0; visibility: hidden; transition: var(--transition); }
  .nav.active { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .hero { padding: 120px 0 72px; min-height: 100svh; }
  .hero-content { grid-template-columns: 1fr; gap: 0; }
  .hero-text { text-align: start; max-width: 640px; }
  .hero-actions { justify-content: flex-start; }
  .hero::before { background:
    linear-gradient(180deg, rgba(13,12,46,.72) 0%, rgba(13,12,46,.55) 45%, rgba(13,12,46,.78) 100%); }
  .products-grid, .programs-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .programs-grid article:last-child { grid-column: 1 / -1; width: calc(50% - .75rem); justify-self: center; }
  .why-us-content, .contact-content { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Enhanced visual system and motion */
::selection { color: var(--white); background: var(--primary); }
body { background: linear-gradient(180deg, #fff 0%, #fbfdff 100%); }
.scroll-progress { position: fixed; inset: 0 auto auto 0; width: 0; height: 3px; z-index: 4000; background: linear-gradient(90deg, #63ddff, var(--primary), #5864ff); box-shadow: 0 0 18px rgba(0,167,226,.65); transition: width .08s linear; }
.header { border-bottom: 1px solid rgba(21,19,79,.07); }
.header.scrolled { box-shadow: 0 12px 34px rgba(21,19,79,.1); }
.nav-link::after { height: 3px; border-radius: 999px; background: linear-gradient(90deg, var(--primary), #5964ff); }
.language-toggle { box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }

.hero { background: #10103c; }
.hero-bg { animation: heroKen 18s ease-in-out infinite alternate; }
.hero-title { background: none; }
.eyebrow { position: relative; overflow: hidden; border: 1px solid rgba(0,167,226,.16); box-shadow: 0 8px 24px rgba(0,167,226,.08); }
.eyebrow::after { content: ""; position: absolute; inset-block: 0; width: 42%; inset-inline-start: -55%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent); transform: skewX(-20deg); animation: eyebrowShine 4.8s ease-in-out infinite; }
@keyframes heroKen { from { transform: scale(1); } to { transform: scale(1.06); } }

.btn { isolation: isolate; }
.btn-primary { background: linear-gradient(135deg, #00b5ec, var(--primary-dark)); box-shadow: 0 12px 28px rgba(0,167,226,.24); }
.btn-primary:hover { background: linear-gradient(135deg, #009fd5, #006f99); box-shadow: 0 18px 34px rgba(0,167,226,.34); }
.btn-secondary { background: rgba(255,255,255,.72); backdrop-filter: blur(8px); }
.button-ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.42); transform: scale(0); animation: ripple .65s linear; pointer-events: none; z-index: 0; }
.btn > :not(.button-ripple) { position: relative; z-index: 1; }

.section-kicker { display: inline-flex; align-items: center; gap: .45rem; padding: .28rem .7rem; margin-bottom: .65rem; border-radius: 999px; background: rgba(0,167,226,.075); }
.section-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px rgba(0,167,226,.12); animation: softPulse 2.2s ease-in-out infinite; }
.section-title::after { height: 5px; box-shadow: 0 6px 14px rgba(0,167,226,.2); }
.products { background: linear-gradient(180deg, #f5f9fd, #eef7fc); }
.programs { position: relative; overflow: hidden; background: radial-gradient(circle at 5% 30%, rgba(0,167,226,.07), transparent 28%), #fff; }
.programs::after { content: ""; position: absolute; width: 300px; height: 300px; border: 50px solid rgba(89,100,255,.035); border-radius: 50%; inset-inline-end: -140px; bottom: -160px; pointer-events: none; }

.product-card, .program-card, .stat-item, .feature-item, .contact-item { border-color: rgba(21,19,79,.085); }
.product-card { --tilt-x: 0deg; --tilt-y: 0deg; transform: perspective(950px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transform-style: preserve-3d; will-change: transform; }
.product-card:hover { transform: perspective(950px) translateY(-10px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); }
.product-card > * { transform: translateZ(18px); }
.product-card::after { transition: transform .6s ease, opacity .4s ease; }
.product-card:hover::after { transform: scale(1.3) rotate(24deg); opacity: .72; }
.product-icon::after, .program-icon::after { content: ""; position: absolute; inset: -8px; border: 1px solid rgba(0,167,226,.18); border-radius: inherit; opacity: 0; transform: scale(.78); transition: .35s ease; }
.product-card:hover .product-icon::after, .program-card:hover .program-icon::after { opacity: 1; transform: scale(1); }
.program-card { --tilt-x: 0deg; --tilt-y: 0deg; transform: perspective(950px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transform-style: preserve-3d; will-change: transform; }
.program-card:hover { transform: perspective(950px) translateY(-8px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); }
.program-card > * { position: relative; z-index: 1; }
.stat-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent, rgba(0,167,226,.045), transparent); transform: translateX(-120%); transition: .6s ease; }
.stat-item:hover::after { transform: translateX(120%); }
.feature-item:hover { border-color: rgba(0,167,226,.26); }

.testimonials { background-image: radial-gradient(circle at 20% 10%, rgba(0,167,226,.18), transparent 27%), linear-gradient(145deg, rgba(17,16,62,.9), rgba(30,26,100,.88)), url("assets/images/process-bg.jpg"); background-size: cover; background-position: center; }
.testimonial-card { box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 22px 60px rgba(5,5,28,.22); }
.testimonial-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(99,221,255,.44), transparent 45%, rgba(255,255,255,.08)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }

.contact { position: relative; overflow: hidden; background: radial-gradient(circle at 90% 16%, rgba(0,167,226,.09), transparent 26%), var(--surface); }
.contact-form-container { border-top: 4px solid var(--primary); }
.form-input { background: rgba(255,255,255,.92); }
.form-input:hover { border-color: rgba(0,167,226,.42); }

.location-section { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff, #f4f9fd); }
.location-section::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(0,167,226,.1), transparent 68%); inset-inline-start: -180px; bottom: -200px; }
.location-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.5rem; align-items: stretch; position: relative; }
.map-card { min-height: 420px; border-radius: 24px; overflow: hidden; border: 1px solid rgba(21,19,79,.1); box-shadow: 0 22px 55px rgba(21,19,79,.14); position: relative; background: #dbeaf2; }
.map-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: saturate(.92) contrast(1.02); }
.map-glow { position: absolute; inset: 0; border: 8px solid rgba(255,255,255,.52); border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 55px rgba(21,19,79,.08); }
.location-details-card { min-height: 420px; padding: 2.25rem; border-radius: 24px; color: var(--white); background: radial-gradient(circle at 90% 0, rgba(99,221,255,.24), transparent 31%), linear-gradient(145deg, var(--navy), var(--navy-soft)); box-shadow: 0 24px 58px rgba(21,19,79,.2); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.location-details-card::after { content: ""; position: absolute; width: 180px; height: 180px; border: 32px solid rgba(255,255,255,.045); border-radius: 50%; inset-inline-end: -85px; bottom: -85px; }
.location-pin { width: 74px; height: 74px; margin-bottom: 1.25rem; border-radius: 22px; display: grid; place-items: center; color: var(--white); background: linear-gradient(135deg, #20c8f6, #007da9); font-size: 1.85rem; position: relative; box-shadow: 0 14px 34px rgba(0,167,226,.3); }
.location-pin span { position: absolute; inset: -10px; border: 2px solid rgba(99,221,255,.35); border-radius: 28px; animation: pinPulse 2.2s ease-out infinite; }
.location-label { color: #78dcfb; font-weight: 800; margin-bottom: .35rem; }
.location-details-card h3 { font-size: 1.55rem; line-height: 1.45; margin-bottom: .75rem; }
.location-details-card p { color: rgba(255,255,255,.72); margin-bottom: 1.4rem; }
.location-actions { display: flex; flex-wrap: wrap; gap: .7rem; position: relative; z-index: 1; }
.location-actions .btn-secondary { color: var(--white); border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.06); }
.location-actions .btn-secondary:hover { background: rgba(255,255,255,.14); }

.social-links { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.1rem; }
.social-links a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--white); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); transition: .3s cubic-bezier(.2,.8,.2,1); position: relative; overflow: hidden; }
.social-links a::before { content: ""; position: absolute; inset: 100% 0 0; background: linear-gradient(145deg, var(--primary), #5964ff); transition: inset .3s ease; }
.social-links a:hover { transform: translateY(-5px) rotate(-4deg); border-color: rgba(99,221,255,.48); box-shadow: 0 12px 24px rgba(0,0,0,.18); }
.social-links a:hover::before { inset: 0; }
.social-links i { position: relative; z-index: 1; }
.social-links a[aria-disabled="true"] { opacity: .55; }
.footer { background: radial-gradient(circle at 10% 15%, rgba(0,167,226,.13), transparent 24%), linear-gradient(145deg, #0d0c35, #15134f); }
.footer-logo { border: 1px solid rgba(255,255,255,.12); box-shadow: 0 14px 32px rgba(0,0,0,.18); }

.floating-actions { position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 900; display: flex; flex-direction: column; align-items: center; gap: .65rem; }
.floating-actions .floating-whatsapp { position: relative; inset: auto; bottom: auto; }
.floating-whatsapp span { position: absolute; inset: -7px; border: 2px solid rgba(32,184,102,.4); border-radius: 50%; animation: whatsappPulse 2.3s ease-out infinite; }
.scroll-top { width: 44px; height: 44px; border: 1px solid rgba(21,19,79,.12); border-radius: 14px; display: grid; place-items: center; color: var(--navy); background: rgba(255,255,255,.9); box-shadow: 0 10px 26px rgba(21,19,79,.13); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s ease; backdrop-filter: blur(10px); }
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { color: var(--white); background: var(--navy); transform: translateY(-3px); }

.fade-in, .fade-in-up { transition-duration: .82s; transition-timing-function: cubic-bezier(.2,.8,.2,1); }
.fade-in.reveal-blur, .fade-in-up.reveal-blur { filter: blur(8px); }
.fade-in.visible, .fade-in-up.visible { filter: blur(0); }

@keyframes orbitRing { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(-20px,18px) rotate(18deg); } }
@keyframes floatShape { 0%,100% { transform: rotate(32deg) translateY(0); } 50% { transform: rotate(42deg) translateY(-22px); } }
@keyframes eyebrowShine { 0%,55% { inset-inline-start: -55%; } 82%,100% { inset-inline-start: 120%; } }
@keyframes houseBreath { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-8px) scale(1.015); } }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
@keyframes softPulse { 0%,100% { box-shadow: 0 0 0 5px rgba(0,167,226,.12); } 50% { box-shadow: 0 0 0 9px rgba(0,167,226,.03); } }
@keyframes pinPulse { 0% { opacity: .75; transform: scale(.82); } 75%,100% { opacity: 0; transform: scale(1.22); } }
@keyframes whatsappPulse { 0% { opacity: .8; transform: scale(.8); } 75%,100% { opacity: 0; transform: scale(1.28); } }

@media (max-width: 900px) {
  .location-grid { grid-template-columns: 1fr; }
  .location-details-card { min-height: 340px; }
}

@media (max-width: 640px) {
  .location-grid { gap: 1rem; }
  .map-card, .map-card iframe { min-height: 330px; }
  .location-details-card { min-height: 0; padding: 1.5rem; }
  .location-actions { flex-direction: column; }
  .location-actions .btn { width: 100%; }
  .floating-actions { inset-inline-end: 14px; bottom: 14px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1200px); }
  .header-actions { gap: .35rem; }
  .logo { width: 156px; }
  .logo-img { height: 52px; }
  .header-whatsapp { display: none; }
  .language-toggle { padding: 0 .65rem; }
  .hero { padding: 108px 0 64px; min-height: 100svh; }
  .hero-title { font-size: 1.85rem; }
  .hero-description { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-contact { width: 100%; }
  .product-media, .program-media { height: 190px; }
  .nav { max-height: calc(100svh - 78px); overflow-y: auto; }
  body { padding-bottom: 84px; }
  section { padding: 64px 0; }
  .section-header { margin-bottom: 2rem; }
  .products-grid, .programs-grid { grid-template-columns: 1fr; }
  .programs-grid article:last-child { grid-column: auto; width: 100%; }
  .product-card { min-height: auto; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-container, .modal-content { padding: 1.35rem; }
  .testimonial-card { padding: 1.5rem; }
  .process-number { font-size: 3.2rem; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-logo { width: 225px; }
  .footer-bottom { padding-block: 1rem; flex-direction: column; justify-content: center; text-align: center; }
  .floating-whatsapp { width: 52px; height: 52px; inset-inline-end: 14px; bottom: 14px; }
}

.contact-social { padding: 1.25rem 1.3rem 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.contact-social h3 { color: var(--navy); font-size: 1.08rem; margin-bottom: .2rem; }
.contact-social p { color: var(--muted); font-size: .9rem; margin-bottom: .85rem; }
.contact-social-links { margin-top: 0; }
.contact-social-links a { color: var(--navy); background: rgba(0,167,226,.08); border-color: rgba(0,167,226,.16); }
.contact-social-links a:hover { color: var(--white); }

.icon-x { width: 16px; height: 16px; display: grid; place-items: center; position: relative; z-index: 1; }
.icon-x svg { width: 15px; height: 15px; display: block; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media (max-width: 420px) {
  .logo { width: 132px; }
  .logo-img { height: 44px; }
  .header-content { min-height: 70px; gap: .6rem; }
  .hero-title { font-size: 1.62rem; }
  .contact-social-links a { width: 40px; height: 40px; }
}

@media (max-width: 1120px) {
  .header { background: rgba(255,255,255,.98); }
  .product-media, .program-media { height: 200px; }
}

img, svg, video, iframe { max-width: 100%; }
.hero-bg, .product-media, .program-media, .map-card { overflow: hidden; }

/* Services icons stay over the media, not over the text */
.product-media .product-icon,
.program-media .program-icon {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-start: auto;
  inset-inline-end: 14px;
  z-index: 4;
  margin: 0;
}

/* Our work */
.works-section { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff, #f4f9fd); }
.works-section::before { content:""; position:absolute; width:420px; height:420px; border-radius:50%; inset-inline-end:-220px; top:20px; background:radial-gradient(circle, rgba(0,167,226,.12), transparent 68%); pointer-events:none; }
.works-heading-row { max-width:none; display:flex; align-items:flex-end; justify-content:space-between; gap:1.5rem; text-align:start; }
.works-heading-row .section-title::after { margin-inline:0; }
.works-heading-row > div:first-child { max-width:760px; }
.works-controls { flex:0 0 auto; display:flex; gap:.55rem; direction:rtl; }
.works-controls button { width:48px; height:48px; display:grid; place-items:center; border:1px solid rgba(21,19,79,.12); border-radius:14px; color:var(--navy); background:rgba(255,255,255,.9); box-shadow:0 9px 24px rgba(21,19,79,.1); transition:.28s ease; }
.works-controls button:hover { color:var(--white); background:var(--primary); border-color:var(--primary); transform:translateY(-3px); }
.works-carousel { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(310px, 32%); gap:1.25rem; padding:.35rem .2rem 1.5rem; overflow-x:auto; overscroll-behavior-inline:contain; scroll-snap-type:inline mandatory; scrollbar-width:thin; scrollbar-color:rgba(0,167,226,.55) transparent; position:relative; }
.work-card { scroll-snap-align:start; border:1px solid rgba(21,19,79,.09); border-radius:22px; overflow:hidden; background:var(--white); box-shadow:0 14px 34px rgba(21,19,79,.1); transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.work-card:hover { transform:translateY(-8px); box-shadow:0 24px 52px rgba(21,19,79,.17); }
.work-card-media { height:245px; position:relative; overflow:hidden; background:#dfe8ee; }
.work-card-media::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent 50%, rgba(12,11,47,.58)); pointer-events:none; }
.work-card-media img { width:100%; height:100%; object-fit:cover; transition:transform .75s cubic-bezier(.2,.8,.2,1), filter .4s ease; }
.work-card:hover .work-card-media img { transform:scale(1.075); filter:saturate(1.08); }
.work-count { position:absolute; z-index:2; inset-inline-start:14px; bottom:14px; display:inline-flex; align-items:center; gap:.4rem; padding:.38rem .68rem; border:1px solid rgba(255,255,255,.3); border-radius:999px; color:var(--white); background:rgba(9,8,40,.58); backdrop-filter:blur(8px); font-size:.78rem; font-weight:700; }
.work-card-body { padding:1.25rem 1.3rem 1.35rem; }
.work-category { display:inline-block; margin-bottom:.45rem; color:var(--primary-dark); font-size:.78rem; font-weight:800; }
.work-card h3 { color:var(--navy); font-size:1.2rem; line-height:1.45; margin-bottom:.45rem; }
.work-card p { color:var(--muted); font-size:.9rem; min-height:3.1em; }
.work-link { display:flex; align-items:center; justify-content:space-between; gap:.6rem; margin-top:1rem; color:var(--navy); font-weight:800; font-size:.88rem; }
.work-link i { color:var(--primary); transition:transform .3s ease; }
.work-card:hover .work-link i { transform:translateX(-5px); }
html[dir="ltr"] .work-card:hover .work-link i { transform:translateX(5px); }
.works-more { display:flex; justify-content:center; margin-top:1.3rem; }

@media (max-width: 900px) {
  .works-carousel { grid-auto-columns:minmax(290px, 48%); }
}

@media (max-width: 640px) {
  .works-heading-row { align-items:flex-start; }
  .works-controls button { width:43px; height:43px; }
  .works-carousel { grid-auto-columns:86%; gap:.9rem; }
  .work-card-media { height:220px; }
}
