:root{
  --navy:#0a2f69;
  --navy-deep:#061b3d;
  --blue:#245faa;
  --sky:#edf4fc;
  --gold:#e7b13d;
  --white:#ffffff;
  --off-white:#f7f9fc;
  --text:#18233a;
  --muted:#6d7789;
  --border:#dfe7f0;
  --shadow:0 24px 60px rgba(6,27,61,.14);
  --radius:18px;
  --container:min(92%,1240px);
  --header-height:82px;
}

*{box-sizing:border-box;margin:0;padding:0}

html{
  scroll-behavior:smooth;
  scroll-padding-top:var(--header-height);
}

body{
  overflow-x:hidden;
  color:var(--text);
  background:var(--white);
  font-family:"Manrope",sans-serif;
}

html[dir="rtl"] body{font-family:"Tajawal",sans-serif}
body.menu-open{overflow:hidden}

img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}

.container{width:var(--container);margin-inline:auto}
.section{padding:clamp(72px,8vw,112px) 0}

.eyebrow{
  margin-bottom:16px;
  color:var(--blue);
  font-size:13px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.section-title{
  color:var(--navy-deep);
  font-size:clamp(38px,5vw,64px);
  line-height:1.08;
  letter-spacing:-.04em;
}

html[dir="rtl"] .section-title{letter-spacing:0}

/* Header */
.site-header{
  position:fixed;
  inset:0 0 auto;
  z-index:1000;
  height:var(--header-height);
  background:rgba(255,255,255,.94);
  border-bottom:1px solid rgba(10,47,105,.08);
  backdrop-filter:blur(16px);
  transition:.3s ease;
}

.site-header.scrolled{box-shadow:0 14px 40px rgba(6,27,61,.10)}

.header-inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.brand{width:220px;flex:none}
.brand img{width:100%;height:auto}

.main-nav{
  display:flex;
  align-items:center;
  gap:clamp(18px,2vw,32px);
}

.main-nav a{
  position:relative;
  padding:14px 0;
  color:#29364a;
  font-size:14px;
  font-weight:700;
}

.main-nav a::after{
  content:"";
  position:absolute;
  inset:auto auto 7px 0;
  width:0;
  height:2px;
  background:var(--blue);
  transition:.3s ease;
}

html[dir="rtl"] .main-nav a::after{inset:auto 0 7px auto}
.main-nav a:hover,.main-nav a.active{color:var(--navy)}
.main-nav a:hover::after,.main-nav a.active::after{width:100%}

.header-tools{
  display:flex;
  align-items:center;
  gap:10px;
}

.language-dropdown{position:relative}

.language-trigger{
  min-width:82px;
  height:44px;
  padding:0 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid var(--border);
  border-radius:12px;
  color:var(--navy);
  background:var(--white);
  font-size:13px;
  font-weight:800;
  cursor:pointer;
}

.language-arrow{
  font-size:17px;
  line-height:1;
  transition:.25s ease;
}

.language-trigger.open .language-arrow{transform:rotate(180deg)}

.language-menu{
  position:absolute;
  top:calc(100% + 10px);
  inset-inline-end:0;
  z-index:1005;
  width:180px;
  padding:8px;
  display:none;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow:var(--shadow);
}

.language-menu.open{display:block}

.language-menu button{
  width:100%;
  padding:11px 12px;
  border:0;
  border-radius:9px;
  color:var(--text);
  background:transparent;
  text-align:start;
  cursor:pointer;
}

.language-menu button:hover{background:var(--sky)}

.quote-button{
  min-height:46px;
  padding:0 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--white);
  background:var(--navy);
  border-radius:12px;
  font-size:13px;
  font-weight:800;
  transition:.3s ease;
}

.quote-button:hover{background:var(--blue);transform:translateY(-2px)}

.menu-toggle{
  display:none;
  width:44px;
  height:44px;
  padding:9px;
  border:0;
  background:transparent;
  cursor:pointer;
}

.menu-toggle span{
  display:block;
  height:2px;
  margin:6px 0;
  background:var(--navy);
  transition:.3s ease;
}

.menu-toggle.active span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.menu-toggle.active span:nth-child(2){opacity:0}
.menu-toggle.active span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

/* Hero */
.hero{
  position:relative;
  min-height:100svh;
  padding-top:var(--header-height);
  overflow:hidden;
  background:var(--off-white);
}

.hero-bg{
  position:absolute;
  inset:var(--header-height) 0 0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.93) 32%,rgba(255,255,255,.56) 56%,rgba(255,255,255,.10) 78%),
    url("../images/cups-hero.jpeg") center/cover no-repeat,
    linear-gradient(135deg,#f8fbff,#dfeaf6);
}

html[dir="rtl"] .hero-bg{
  background:
    linear-gradient(270deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.93) 32%,rgba(255,255,255,.56) 56%,rgba(255,255,255,.10) 78%),
    url("../images/cups-hero.jpeg") center/cover no-repeat,
    linear-gradient(135deg,#f8fbff,#dfeaf6);
}

.hero-inner{
  position:relative;
  z-index:2;
  min-height:calc(100svh - var(--header-height));
  display:flex;
  align-items:center;
  padding:70px 0;
}

.hero-content{width:min(54%,680px)}

.hero h1{
  margin-bottom:22px;
  color:var(--navy-deep);
  font-size:clamp(50px,6vw,92px);
  line-height:.98;
  letter-spacing:-.05em;
}

html[dir="rtl"] .hero h1{line-height:1.15;letter-spacing:0}
.hero h1 span{display:block;color:var(--blue)}

.hero-copy{
  max-width:610px;
  margin-bottom:30px;
  color:var(--muted);
  font-size:clamp(16px,1.4vw,19px);
  line-height:1.8;
}

.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:30px}

.button{
  min-height:54px;
  padding:0 26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:13px;
  font-size:14px;
  font-weight:800;
  transition:.3s ease;
}

.button-primary{
  color:var(--white);
  background:var(--navy);
  box-shadow:0 14px 34px rgba(10,47,105,.20);
}

.button-primary:hover{background:var(--blue);transform:translateY(-3px)}

.button-secondary{
  color:var(--navy);
  background:rgba(255,255,255,.88);
  border:1px solid rgba(10,47,105,.22);
}

.button-secondary:hover{border-color:var(--navy);transform:translateY(-3px)}

.hero-features{display:flex;flex-wrap:wrap;gap:20px}

.hero-features span{
  position:relative;
  padding-inline-start:18px;
  color:#526178;
  font-size:13px;
  font-weight:700;
}

.hero-features span::before{
  content:"";
  position:absolute;
  top:6px;
  inset-inline-start:0;
  width:7px;
  height:7px;
  background:var(--gold);
  border-radius:50%;
}

/* About */
.about-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:clamp(50px,8vw,100px);
}

.about-content>p{
  margin-bottom:18px;
  color:var(--muted);
  font-size:17px;
  line-height:1.9;
}

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

.company-points article{
  padding:24px;
  background:var(--off-white);
  border-inline-start:4px solid var(--blue);
  border-radius:0 14px 14px 0;
}

html[dir="rtl"] .company-points article{border-radius:14px 0 0 14px}

.company-points strong{display:block;margin-bottom:8px;color:var(--navy-deep)}
.company-points span{color:var(--muted);font-size:14px;line-height:1.7}

/* Products */
.products-section{background:var(--off-white)}
.section-intro{max-width:820px;margin-bottom:52px}
.section-intro>p:last-child{margin-top:18px;color:var(--muted);line-height:1.8}

.product-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.product-card{
  position:relative;
  padding:24px;
  overflow:hidden;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:18px;
  transition:.3s ease;
}

.product-card:hover{
  transform:translateY(-8px);
  border-color:#c8d7e7;
  box-shadow:var(--shadow);
}

.product-index{
  position:absolute;
  top:24px;
  inset-inline-end:24px;
  color:#c6d3e3;
  font-size:13px;
  font-weight:800;
}

.product-card h3{margin:22px 0 10px;color:var(--navy-deep);font-size:22px}
.product-card p{color:var(--muted);font-size:15px;line-height:1.75}

.product-visual{
  position:relative;
  height:210px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:15px;
  background:linear-gradient(145deg,#f0f5fb,#e3edf8);
}

.product-visual::before{
  content:"";
  width:34%;
  height:68%;
  display:block;
  background:#fff;
  border:2px solid #bfd0e2;
  border-radius:12px 12px 34px 34px;
  box-shadow:0 20px 35px rgba(10,47,105,.13);
}

.product-visual span{
  position:absolute;
  color:var(--blue);
  font-size:32px;
  font-weight:800;
}

.cup-two::before{background:repeating-linear-gradient(0deg,var(--blue) 0 10px,#3477c7 10px 20px);border:0}
.cup-two span{color:#fff}
.cold-cup::before{background:rgba(255,255,255,.68);border:3px solid #9db9d7}
.bowl::before{width:62%;height:40%;border-radius:16px 16px 70px 70px}
.box::before{width:50%;height:50%;border-radius:18px;background:var(--blue);border:0}
.box span{color:#fff}
.print::before{width:50%;height:50%;border-radius:50%;background:var(--navy);border:0}
.print span{color:#fff}

/* Industries */
.industries-section{color:var(--white);background:var(--navy-deep)}
.light .section-title{color:var(--white)}
.light .eyebrow{color:#a7c8ed}

.industry-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;
  background:rgba(255,255,255,.13);
}

.industry-grid article{
  min-height:180px;
  padding:28px;
  background:var(--navy-deep);
  transition:.3s ease;
}

.industry-grid article:hover{background:#0e3978}
.industry-grid span{display:block;margin-bottom:48px;color:#86aede;font-size:13px;font-weight:800}
.industry-grid h3{font-size:clamp(22px,2vw,28px)}

/* Advantages */
.advantage-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.advantage-grid article{
  padding:30px 24px;
  border:1px solid var(--border);
  border-radius:16px;
  transition:.3s ease;
}

.advantage-grid article:hover{transform:translateY(-6px);box-shadow:0 20px 45px rgba(6,27,61,.09)}
.advantage-grid span{display:inline-flex;margin-bottom:40px;color:var(--blue);font-size:13px;font-weight:800}
.advantage-grid h3{margin-bottom:12px;color:var(--navy-deep);font-size:20px}
.advantage-grid p{color:var(--muted);font-size:15px;line-height:1.75}

/* Contact */
.contact-section{padding:clamp(72px,8vw,104px) 0;background:var(--sky)}

.contact-grid{
  display:grid;
  grid-template-columns:1fr .85fr;
  align-items:center;
  gap:clamp(50px,8vw,90px);
}

.contact-copy{max-width:620px;margin-top:20px;color:var(--muted);line-height:1.8}

.contact-card{
  padding:10px 30px;
  background:var(--white);
  border-radius:18px;
  box-shadow:var(--shadow);
}

.contact-card a{
  display:block;
  padding:24px 0;
  border-bottom:1px solid var(--border);
  transition:.25s ease;
}

.contact-card a:hover{transform:translateX(5px)}
html[dir="rtl"] .contact-card a:hover{transform:translateX(-5px)}
.contact-card a:last-child{border-bottom:0}
.contact-card small{display:block;margin-bottom:7px;color:var(--muted)}
.contact-card strong{color:var(--navy);font-size:17px;overflow-wrap:anywhere}

/* Footer */
.footer{padding-top:70px;color:rgba(255,255,255,.76);background:#04152f}

.footer-main{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:60px;
  padding-bottom:45px;
}

.footer-brand{max-width:650px}
.footer-brand img{width:220px;margin-bottom:20px;filter:brightness(0) invert(1)}
.footer-brand p{max-width:560px;line-height:1.8}

.footer-links{display:flex;flex-direction:column;gap:14px;min-width:120px}
.footer-links a:hover{color:var(--white)}

.footer-bottom{
  padding:22px 0;
  border-top:1px solid rgba(255,255,255,.1);
  text-align:center;
  font-size:13px;
}

/* Tablet */
@media (max-width:1100px){
  .quote-button{display:none}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .advantage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Mobile navigation */
@media (max-width:900px){
  :root{--header-height:74px}

  .brand{width:140px}
  .menu-toggle{display:block;position:relative;z-index:1003}

  .main-nav{
    position:fixed;
    inset:0 -100% 0 auto;
    z-index:1002;
    width:min(86%,360px);
    height:100svh;
    padding:110px 32px 40px;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    gap:18px;
    background:var(--white);
    box-shadow:-20px 0 50px rgba(6,27,61,.16);
    transition:.35s ease;
  }

  html[dir="rtl"] .main-nav{
    inset:0 auto 0 -100%;
    align-items:flex-end;
    box-shadow:20px 0 50px rgba(6,27,61,.16);
  }

  .main-nav.open{inset:0 0 0 auto}
  html[dir="rtl"] .main-nav.open{inset:0 auto 0 0}
  .main-nav a{width:100%;font-size:18px}

  .hero-bg{
    background:
      linear-gradient(90deg,rgba(255,255,255,.97),rgba(255,255,255,.80)),
      url("../images/cups-hero.jpeg") 64% center/cover no-repeat,
      linear-gradient(135deg,#f8fbff,#dfeaf6);
  }

  html[dir="rtl"] .hero-bg{
    background:
      linear-gradient(270deg,rgba(255,255,255,.97),rgba(255,255,255,.80)),
      url("../images/cups-hero.jpeg") 36% center/cover no-repeat,
      linear-gradient(135deg,#f8fbff,#dfeaf6);
  }

  .hero-content{width:min(100%,680px)}
  .about-grid,.contact-grid{grid-template-columns:1fr}
  .industry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Phones */
@media (max-width:650px){
  :root{--header-height:70px}

  .header-inner{gap:8px}
  .brand{width:112px}
  .language-trigger{min-width:64px;height:40px;padding:0 10px}
  .language-menu{width:165px}
  .menu-toggle{width:40px;height:40px}

  .hero{min-height:auto}
  .hero-bg{
    background:
      linear-gradient(180deg,rgba(255,255,255,.93),rgba(255,255,255,.82)),
      url("../images/cups-hero.jpeg") center/cover no-repeat,
      linear-gradient(135deg,#f8fbff,#dfeaf6);
  }

  html[dir="rtl"] .hero-bg{
    background:
      linear-gradient(180deg,rgba(255,255,255,.93),rgba(255,255,255,.82)),
      url("../images/cups-hero.jpeg") center/cover no-repeat,
      linear-gradient(135deg,#f8fbff,#dfeaf6);
  }

  .hero-inner{min-height:calc(100svh - var(--header-height));padding:60px 0}
  .hero h1{font-size:clamp(42px,13vw,64px);line-height:1.05}
  html[dir="rtl"] .hero h1{line-height:1.22}
  .hero-copy{font-size:16px}
  .hero-actions{flex-direction:column}
  .button{width:100%}
  .hero-features{flex-direction:column;gap:12px}

  .section{padding:64px 0}
  .section-title{font-size:clamp(34px,10vw,48px)}
  .company-points,.product-grid,.industry-grid,.advantage-grid{grid-template-columns:1fr}
  .product-card{padding:20px}
  .contact-card{padding:8px 20px}
  .footer-main{flex-direction:column}
}

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