:root {
  --ink: #101114;
  --paper: #f7f7f5;
  --white: #ffffff;
  --surface: #ffffff;
  --soft-surface: #ededeb;
  --dark-surface: #101114;
  --dark-card: #191a1e;
  --muted: #6f7175;
  --text-soft: #55575b;
  --heading-soft: #6c6e72;
  --number-muted: #999b9e;
  --line: rgba(16, 17, 20, .14);
  --whatsapp: #157a3f;
  --radius: 1.4rem;
  --container: min(1180px, calc(100% - 40px));
  --catalog-surface: #f0f1ed;
  --product-sage: #e3eee8;
  --product-sand: #f2e8dc;
  --product-mist: #e5ecee;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  color-scheme: light dark;
}
img { display: block; max-width: 100%; -webkit-user-drag: none; user-select: none; }
a { color: inherit; text-decoration: none; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; inset-block-start: .75rem; inset-inline-start: .75rem; z-index: 100; padding: .7rem 1rem; background: var(--surface); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; padding-block: 1.15rem; }
.nav-wrap { min-height: 70px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.brand { width: 178px; justify-self: start; padding: .25rem; }
.brand img { width: 100%; height: auto; mix-blend-mode: multiply; }
.main-nav { display: flex; align-items: center; gap: 2.1rem; font-size: .95rem; font-weight: 500; }
.main-nav a { position: relative; padding-block: .5rem; }
.main-nav a::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: currentColor; transform: scaleX(0); }
.main-nav a:focus-visible::after { transform: scaleX(1); }
.nav-cta { justify-self: end; min-height: 48px; display: inline-flex; align-items: center; gap: .55rem; padding: .65rem 1.15rem; border: 1.5px solid var(--whatsapp); border-radius: 99px; background: transparent; color: var(--whatsapp); font-weight: 600; }
.nav-cta svg { width: 22px; height: 22px; flex: 0 0 auto; fill: currentColor; }

.hero { min-height: 100svh; padding: 8.5rem 0 2rem; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; border: 1px solid var(--line); border-radius: 50%; inset: -190px auto auto -130px; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr; align-items: center; min-height: calc(100svh - 10.5rem); }
.hero-copy { max-width: 1060px; padding-block: 1.5rem 2.5rem; position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: .75rem; margin: 0 0 1.8rem; font-size: .88rem; font-weight: 600; color: var(--text-soft); }
.eyebrow span { width: 2.8rem; height: 1px; background: var(--ink); }
h1 { margin: 0; font-size: clamp(3rem, 5.8vw, 5.3rem); line-height: 1.24; font-weight: 600; }
h1 span, h1 em { display: block; white-space: nowrap; }
h1 em { margin-top: .08em; font-size: .76em; font-style: normal; font-weight: 300; color: var(--heading-soft); }
.hero-promise { max-width: 800px; margin: 1.85rem 0 .55rem; padding-inline-start: 1rem; border-inline-start: 2px solid var(--ink); font-size: clamp(1.12rem, 1.8vw, 1.5rem); line-height: 1.6; font-weight: 600; }
.hero-lead { max-width: 800px; margin: 0 0 2.25rem; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--text-soft); line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .82rem 1.35rem; border-radius: 99px; font-weight: 600; border: 1px solid var(--ink); }
.button:focus-visible, .nav-cta:focus-visible, .main-nav a:focus-visible { outline: 3px solid #1a73e8; outline-offset: 3px; }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transform: rotate(180deg); }
.button-primary { background: var(--ink); color: var(--paper); }
.button-ghost { background: transparent; }
.hero-proof { display: flex; gap: 3rem; margin-top: 2.8rem; padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: 800px; }
.hero-proof div { display: grid; gap: .05rem; }
.hero-proof strong { font-size: .95rem; }
.hero-proof span { color: var(--muted); font-size: .86rem; }

.section { padding-block: clamp(6rem, 10vw, 10rem); }
.section-kicker { margin: 0 0 1rem; font-size: .85rem; font-weight: 600; color: var(--muted); }
.section-kicker.light { color: rgba(255,255,255,.58); }
h2 { margin: 0; font-size: clamp(2.9rem, 5.6vw, 5.7rem); line-height: 1.18; font-weight: 600; }
h2 span { color: var(--heading-soft); font-weight: 300; }
.section-mark { display: flex; align-items: center; gap: 1rem; padding-top: 1rem; color: var(--muted); font-size: .8rem; }
.section-mark i { display: block; width: 54px; height: 1px; background: var(--line); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.about { background: var(--surface); padding-bottom: clamp(4rem, 7vw, 6rem); }
.about-grid { display: grid; grid-template-columns: .28fr 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about-heading h2 { font-size: clamp(2.8rem, 4.6vw, 5rem); }
.about-copy > p { margin: 3.1rem 0 3rem; color: var(--text-soft); font-size: 1.15rem; line-height: 2; }
.about-points { display: grid; border-top: 1px solid var(--line); }
.about-points article { display: grid; grid-template-columns: 40px 1fr; gap: 1rem; padding-block: 1.3rem; border-bottom: 1px solid var(--line); }
.about-points article > span { color: var(--number-muted); font-size: .75rem; padding-top: .2rem; }
.about-points h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.about-points p { margin: 0; color: var(--muted); font-size: .92rem; }

.solutions { overflow: hidden; background: var(--catalog-surface); }
.product-section-head { margin-bottom: clamp(3.5rem, 6vw, 5.5rem); }
.product-section-head h2 { max-width: 1000px; font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1.34; }
.product-section-head > p:last-child { max-width: 650px; margin: 1rem 0 0; color: var(--text-soft); font-size: 1.12rem; }
.product-group + .product-group { margin-top: clamp(3.5rem, 6vw, 5.75rem); }
.product-group-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.35rem; }
.product-group-head h3 { margin: 0; font-size: clamp(1.75rem, 2.8vw, 2.35rem); line-height: 1.4; font-weight: 600; }
.product-group-head p { margin: .1rem 0 0; color: var(--text-soft); font-size: 1rem; }
.product-controls { display: flex; gap: .6rem; flex: 0 0 auto; }
.product-controls[hidden] { display: none; }
.product-button { width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.product-button:disabled { opacity: .3; cursor: default; }
.product-button:focus-visible, .product-carousel:focus-visible { outline: 3px solid #1a73e8; outline-offset: 3px; }
.product-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.product-carousel { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: max(20px, calc((100vw - 1180px) / 2)); scrollbar-width: none; padding-inline: max(20px, calc((100vw - 1180px) / 2)); }
.product-carousel::-webkit-scrollbar { display: none; }
.product-track { display: flex; width: max-content; gap: 1rem; direction: rtl; }
.product-card { flex: 0 0 clamp(270px, 31vw, 360px); width: clamp(270px, 31vw, 360px); min-height: 390px; padding: .75rem; border-radius: 1.5rem; background: var(--product-sage); scroll-snap-align: start; }
.product-card:nth-child(3n+2) { background: var(--product-sand); }
.product-card:nth-child(3n+3) { background: var(--product-mist); }
.product-media { height: 250px; display: grid; place-items: center; overflow: hidden; border-radius: 1rem; background: #fff; }
.product-media img { max-width: 86%; max-height: 84%; width: auto; height: auto; object-fit: contain; }
.product-copy { padding: .95rem .65rem .55rem; }
.product-copy h4 { margin: 0 0 .2rem; font-size: clamp(1.28rem, 1.8vw, 1.5rem); line-height: 1.5; font-weight: 600; }
.product-copy p { margin: 0; color: var(--text-soft); font-size: .98rem; line-height: 1.7; }

.benefits { background: var(--paper); }
.benefits-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(3rem, 7vw, 8rem); align-items: start; }
.benefits-heading h2 { font-size: clamp(2.9rem, 4.5vw, 4.8rem); }
.benefits-list { border-top: 1px solid var(--line); }
.benefit-card { display: grid; grid-template-columns: 76px 1fr; gap: 1.5rem; align-items: center; padding-block: 2rem; border-bottom: 1px solid var(--line); }
.benefit-symbol { width: 70px; height: 70px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 2.2rem; font-weight: 500; line-height: 1; }
.benefit-symbol svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.benefit-card h3 { margin: 0 0 .25rem; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.5; }
.benefit-card p { margin: 0; color: var(--text-soft); }

.projects { overflow: hidden; background: var(--soft-surface); }
.projects-head { display: grid; grid-template-columns: .3fr 1fr .78fr; gap: 2rem; align-items: end; margin-bottom: 4rem; }
.projects-head h2 { font-size: clamp(3.2rem, 5vw, 5.3rem); }
.projects-intro { padding-bottom: .6rem; }
.projects-intro > p { margin: 0 0 1.5rem; color: var(--muted); }
.carousel-controls { display: flex; gap: .55rem; }
.carousel-button { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.carousel-button:focus-visible { background: var(--ink); color: var(--paper); }
.carousel-button:focus-visible { outline: 3px solid #1a73e8; outline-offset: 3px; }
.carousel-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.projects-carousel { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding-inline: max(20px, calc((100vw - 1180px) / 2)); outline: none; }
.projects-carousel::-webkit-scrollbar { display: none; }
.project-track { width: max-content; display: flex; gap: 1rem; direction: rtl; }
.project-card { position: relative; width: clamp(270px, 28vw, 410px); height: clamp(430px, 52vw, 600px); overflow: hidden; border-radius: var(--radius); background: #c9c9c5; scroll-snap-align: start; }
.project-card img { width: 100%; height: 100%; object-fit: cover; }
.project-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.74)); }
.project-caption { position: absolute; z-index: 2; inset: auto 1.5rem 1.45rem; color: var(--white); }
.project-caption span { font-size: .78rem; opacity: .7; }
.project-caption h3 { margin: .15rem 0 0; font-size: 1.3rem; }

.partners { background: var(--paper); padding-top: clamp(4rem, 7vw, 6rem); }
.partners h2 { margin-bottom: clamp(1.8rem, 4vw, 3rem); font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.3; }
.partner-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.7rem, 1.5vw, 1.15rem); margin: 0; padding: 0; list-style: none; }
.partner-card { position: relative; aspect-ratio: 1.48; min-width: 0; overflow: hidden; border: 1px solid #e3e5e8; border-radius: 1.15rem; background: #fff; }
.partner-card img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; }

.contact { position: relative; overflow: hidden; background: var(--dark-surface); color: var(--white); padding-block: clamp(6rem, 11vw, 10rem); }
.contact::before { content: ""; position: absolute; width: 650px; height: 650px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; left: -260px; top: -330px; }
.contact-grid { position: relative; display: grid; grid-template-columns: .28fr 1fr .8fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.contact-icon { align-self: start; }
.contact-icon svg { width: 62px; fill: var(--white); }
.contact-icon .door { fill: var(--dark-surface); }
.contact h2 { font-size: clamp(3.2rem, 5.5vw, 5.8rem); }
.contact h2 span { color: rgba(255,255,255,.42); }
.contact-link { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .2rem 1rem; padding: 1.2rem 1.4rem; border: 1px solid rgba(255,255,255,.4); border-radius: 1rem; }
.contact-link span { font-size: .9rem; color: rgba(255,255,255,.6); }
.contact-link strong { grid-column: 1; font-size: 1.25rem; font-weight: 500; }
.contact-link svg { grid-column: 2; grid-row: 1 / span 2; width: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; transform: rotate(180deg); }
.contact-link:focus-visible { background: var(--white); color: var(--dark-surface); }
.contact-link:focus-visible span { color: #555; }
.contact-link:focus-visible { outline: 3px solid #79a9ff; outline-offset: 3px; }

.site-footer { background: var(--surface); padding-block: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 2rem; font-size: .9rem; color: var(--muted); }
.footer-grid > img { width: 145px; mix-blend-mode: multiply; }
.footer-grid > p { text-align: center; }
.footer-grid > div { display: flex; justify-content: flex-end; gap: 1.5rem; }
.footer-grid a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer-meta strong { color: var(--ink); font-weight: 500; }

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f3f1ec;
    --paper: #202225;
    --surface: #27292d;
    --soft-surface: #24262a;
    --dark-surface: #2b2d31;
    --dark-card: #34363b;
    --muted: #b3b4b8;
    --text-soft: #c8c9cc;
    --heading-soft: #a8aaae;
    --number-muted: #92949a;
    --line: rgba(255, 255, 255, .14);
    --whatsapp: #57d58a;
    --catalog-surface: #24262a;
    --product-sage: #35423d;
    --product-sand: #453e36;
    --product-mist: #374249;
  }

  .brand img,
  .footer-grid > img {
    filter: invert(1);
    mix-blend-mode: screen;
  }

}

@media (max-width: 820px) {
  :root { --container: min(100% - 28px, 680px); }
  .nav-wrap { grid-template-columns: 1fr auto; gap: 1rem; }
  .main-nav { display: none; }
  .brand { width: 145px; }
  .nav-cta { min-height: 44px; padding-inline: 1rem; font-size: .9rem; }
  .hero { min-height: 0; padding: 7.7rem 0 5.5rem; }
  .hero-grid { min-height: 0; }
  .hero-copy { padding-block: 2rem 0; }
  h1 { font-size: clamp(2.55rem, 7.7vw, 4.4rem); }
  .hero-promise { margin-top: 1.5rem; }
  .hero-lead { font-size: 1.05rem; margin-bottom: 1.75rem; }
  .hero-proof { gap: 1.5rem; margin-top: 2rem; }
  .about-grid, .projects-head, .contact-grid { grid-template-columns: 1fr; }
  .section-mark { display: none; }
  .about-copy > p { margin-top: 1.5rem; }
  .product-section-head > p:last-child { font-size: 1rem; }
  .benefits-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .projects-head { align-items: start; margin-bottom: 2.5rem; }
  .projects-intro { max-width: 500px; }
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid { gap: 2.2rem; }
  .contact-icon { display: none; }
  .contact-action { max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-grid > p { display: none; }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(2.15rem, 9vw, 2.65rem); }
  h1 span, h1 em { white-space: normal; }
  .button { width: 100%; }
  .hero-proof { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
  .section { padding-block: 5.5rem; }
  .about { padding-bottom: 3.5rem; }
  .partners { padding-top: 3.5rem; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { border-radius: .9rem; }
  .product-group-head { align-items: center; }
  .product-group-head h3 { font-size: 1.65rem; }
  .product-group-head p { font-size: .9rem; }
  .product-controls { gap: .4rem; }
  .product-button { width: 42px; height: 42px; }
  .product-card { flex-basis: min(80vw, 320px); width: min(80vw, 320px); min-height: 365px; }
  .product-media { height: 225px; }
  .benefit-card { grid-template-columns: 62px 1fr; gap: 1rem; padding-block: 1.5rem; }
  .benefit-symbol { width: 58px; height: 58px; font-size: 1.9rem; }
  .benefit-symbol svg { width: 27px; height: 27px; }
  .project-card { width: 80vw; height: 118vw; max-height: 540px; }
  .footer-grid { display: flex; justify-content: space-between; }
  .footer-grid > div span { display: none; }
  .footer-meta { justify-content: flex-start; flex-direction: column; }
}

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