/* Elramlawy Food Co — corporate site */
:root{
  --burgundy:#6E1F2E; --wine:#3A1219; --blush:#F6EEE9; --paper:#FBF7F4;
  --line:#E3D2C9; --tint:#EADCD4; --muted:#5A3A40; --white:#FFFFFF;
  --on-dark:#F1DFE2; --on-dark-soft:#E9C9CF;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--blush);color:var(--wine);font-family:Montserrat,Arial,sans-serif;font-size:16px;line-height:1.55}
[dir="rtl"] body,body[dir="rtl"]{font-family:Cairo,Tahoma,sans-serif;font-size:17px;line-height:1.7}
img{max-width:100%;display:block}
a{color:var(--burgundy)}a:hover{color:var(--wine)}
h1,h2,h3,p{margin:0}
.wrap{max-width:1240px;margin:0 auto;padding:0 32px}
.latin{font-family:Montserrat,Arial,sans-serif}
.skip{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;background:var(--wine);color:#fff;padding:12px 16px;z-index:100}
.skip:focus{width:auto;height:auto;clip:auto;top:16px;inset-inline-start:16px}
:focus-visible{outline:2px solid var(--burgundy);outline-offset:3px}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:var(--blush);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:84px}
.logo img{height:52px;width:auto}
.nav{display:flex;align-items:center;gap:28px;font-size:14px;font-weight:500}
[dir="rtl"] .nav{font-size:15px;font-weight:600}
.nav a{color:var(--wine);text-decoration:none;padding:8px 0}
.nav a:hover{color:var(--burgundy)}
.header-actions{display:flex;align-items:center;gap:12px}
.lang{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;font-weight:700;text-decoration:none;color:var(--burgundy)}
.lang-ar{font-family:Cairo,sans-serif;font-size:15px}
.lang-en{font-family:Montserrat,sans-serif;font-size:14px;font-weight:600}
.menu-btn{display:none;width:44px;height:44px;align-items:center;justify-content:center;background:none;border:0;padding:0;cursor:pointer;color:var(--wine)}
.menu-btn .i-close{display:none}
.menu-open .menu-btn .i-open{display:none}
.menu-open .menu-btn .i-close{display:block}
.nav .nav-extra{display:none}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;border-radius:2px;font-weight:600;font-size:15px;text-decoration:none;border:1.5px solid transparent;cursor:pointer;font-family:inherit}
[dir="rtl"] .btn{font-weight:700;font-size:16px}
.btn-sm{min-height:44px;padding:0 22px;font-size:14px}
.btn-primary{background:var(--burgundy);color:var(--blush)}
.btn-primary:hover{background:var(--wine);color:var(--blush)}
.btn-outline{border-color:var(--burgundy);color:var(--burgundy);background:transparent}
.btn-outline:hover{background:var(--burgundy);color:var(--blush)}
.btn-light{background:var(--blush);color:var(--burgundy)}
.btn-light:hover{background:#fff;color:var(--wine)}
.btn-row{display:flex;flex-wrap:wrap;gap:14px}

/* Type */
.eyebrow{font-size:13px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--burgundy);margin-bottom:16px}
[dir="rtl"] .eyebrow{letter-spacing:0;text-transform:none;font-size:15px;font-weight:700;margin-bottom:12px}
h1{font-size:54px;line-height:1.1;font-weight:600;letter-spacing:-.015em;margin-bottom:28px}
[dir="rtl"] h1{font-size:52px;line-height:1.35;font-weight:700;letter-spacing:0}
h2{font-size:38px;line-height:1.2;font-weight:600}
[dir="rtl"] h2{line-height:1.4;font-weight:700}
.lead{font-size:19px;color:var(--muted);max-width:560px;margin-bottom:40px}
.body-lg{font-size:17px;color:var(--muted)}
[dir="rtl"] .body-lg{font-size:18px}

/* Visual panels (stand-ins until photography is ready) */
.visual{background:var(--tint) url(img/mark.svg) no-repeat center/42%;position:relative;overflow:hidden}
.visual::after{content:"";position:absolute;inset:0;background:rgba(234,220,212,.82)}
.visual.photo{background-size:cover;background-position:center}
.visual.photo::after{display:none}

/* Hero */
.hero{display:flex;flex-wrap:wrap;gap:64px;align-items:center;padding-top:88px;padding-bottom:96px}
.hero-text{flex:1 1 480px;min-width:0}
.hero-visual{flex:1 1 420px;min-width:0;height:520px}

/* Stats */
.stats{background:var(--paper);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.stats .wrap{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;padding-top:48px;padding-bottom:48px}
.stat-num{font-size:44px;font-weight:600;color:var(--burgundy);line-height:1.15}
[dir="rtl"] .stat-num{font-weight:700}
.stat-label{margin-top:8px;font-size:14px;color:var(--muted)}
[dir="rtl"] .stat-label{font-size:15px}

/* Sections */
.section{padding-top:112px;padding-bottom:112px}
.section-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:48px}
.section-head > div{max-width:640px}
.link-strong{font-weight:600;font-size:15px;padding:12px 0;text-decoration:none}
[dir="rtl"] .link-strong{font-weight:700;font-size:16px}
.link-strong:hover{text-decoration:underline}

/* Brands */
.brands{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.brand{background:var(--white);display:flex;flex-direction:column;min-width:0}
.brand-visual{height:240px;display:flex;align-items:center;justify-content:center;padding:24px;text-align:center}
.brand-visual span{position:relative;z-index:1;font-family:Montserrat,sans-serif;font-size:26px;font-weight:600;color:var(--burgundy);letter-spacing:.01em}
.brand-body{padding:28px;display:flex;flex-direction:column;gap:10px;flex-grow:1}
.brand-tag{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--burgundy)}
[dir="rtl"] .brand-tag{letter-spacing:0;text-transform:none;font-size:14px;font-weight:700}
.brand h3{font-size:24px;font-weight:600}
.brand p{color:var(--muted);font-size:15px}
.brand .link-strong{margin-top:auto;padding-bottom:0}
.swipe-hint{display:none;font-size:13px;color:var(--muted);margin-top:8px}

/* Manufacturing */
.mfg{background:var(--burgundy);color:var(--blush)}
.mfg .wrap{display:flex;flex-wrap:wrap;gap:64px}
.mfg-text{flex:1 1 400px;min-width:0}
.mfg .eyebrow{color:var(--on-dark-soft)}
.mfg h2{color:#fff;margin-bottom:24px}
.mfg-text p{font-size:17px;color:var(--on-dark);max-width:500px;margin-bottom:36px}
.caps{flex:1 1 520px;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#8A3A49;align-self:flex-start}
.cap{background:var(--burgundy);padding:28px 28px 32px}
.cap h3{font-size:18px;font-weight:600;color:#fff;margin-bottom:10px}
[dir="rtl"] .cap h3{font-weight:700;font-size:19px}
.cap p{font-size:15px;color:var(--on-dark)}

/* Distribution */
.dist{display:flex;flex-wrap:wrap;gap:64px;align-items:flex-start}
.dist-visual{flex:1 1 420px;min-width:0;height:460px}
.dist-text{flex:1 1 480px;min-width:0}
.dist-text h2{margin-bottom:24px}
.dist-text .body-lg{margin-bottom:32px}
.ticks{list-style:none;margin:0 0 32px;padding:0;display:flex;flex-direction:column;gap:16px}
.ticks li{display:flex;gap:14px;align-items:flex-start}
.ticks svg{flex-shrink:0;margin-top:3px}
[dir="rtl"] .ticks svg{margin-top:6px}
.ticks strong{font-weight:600}
[dir="rtl"] .ticks strong{font-weight:700}
.note{font-size:14px;color:var(--muted);padding-top:20px;border-top:1px solid var(--line);margin-bottom:32px}

/* Franchising */
.franchise{background:var(--paper);border-top:1px solid var(--line)}
.franchise .wrap{display:flex;flex-wrap:wrap;gap:48px;align-items:center;justify-content:space-between;padding-top:96px;padding-bottom:96px}
.franchise-text{flex:1 1 520px;min-width:0}
.franchise h2{margin-bottom:20px}
.franchise p{max-width:580px}

/* Partner */
.partner-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);margin-bottom:64px}
.ptile{background:#fff;padding:28px;text-decoration:none;color:var(--wine);display:flex;flex-direction:column;gap:8px;min-height:160px;cursor:pointer;border:0;font:inherit;text-align:inherit}
.ptile:hover{background:var(--paper);color:var(--wine)}
.ptile span{display:flex;flex-direction:column;gap:8px}
.ptile b{font-weight:600;font-size:17px}
[dir="rtl"] .ptile b{font-weight:700;font-size:18px}
.ptile small{font-size:14px;color:var(--muted)}
.ptile i{margin-top:auto;font-style:normal;color:var(--burgundy);font-weight:600}

/* Form */
.form-card{background:#fff;border:1px solid var(--line);padding:48px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 32px}
.form-card .full{grid-column:1 / -1}
.field label{display:block;font-size:14px;font-weight:600;margin-bottom:8px}
[dir="rtl"] .field label{font-weight:700;font-size:15px}
.field input,.field select,.field textarea{width:100%;min-height:52px;padding:12px 14px;border:1px solid #CDB6AC;border-radius:2px;background:#fff;color:var(--wine);font:inherit;font-size:16px}
.field textarea{min-height:140px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--burgundy);outline-offset:0;border-color:var(--burgundy)}
.form-foot{display:flex;flex-wrap:wrap;align-items:center;gap:20px}
.form-foot p{font-size:14px;color:var(--muted)}
.form-status{font-weight:600}
.hp{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);opacity:0}

/* Footer */
.site-footer{background:var(--wine);color:#EAD7DA;font-size:14px}
[dir="rtl"] .site-footer{font-size:15px}
.site-footer .wrap{padding-top:72px;padding-bottom:40px}
.foot-top{display:flex;flex-wrap:wrap;gap:48px;justify-content:space-between;padding-bottom:48px;border-bottom:1px solid #5A2D35}
.foot-about{flex:1 1 300px;max-width:380px}
.foot-about img{height:56px;width:auto;margin-bottom:20px}
.foot-col{flex:0 1 180px;display:flex;flex-direction:column;gap:10px}
.foot-col.wide{flex-basis:240px}
.foot-col .h{font-weight:600;color:#fff;margin-bottom:4px}
[dir="rtl"] .foot-col .h{font-weight:700}
.site-footer a{color:#EAD7DA;text-decoration:none}
.site-footer a:hover{color:#fff;text-decoration:underline}
.foot-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding-top:28px;font-size:13px}

/* Tablet */
@media (max-width:1100px){
  .brands{grid-template-columns:repeat(2,minmax(0,1fr))}
  .partner-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* Phone + small tablet: collapse the menu */
@media (max-width:960px){
  .site-header .wrap{min-height:72px}
  .logo img{height:40px}
  .menu-btn{display:inline-flex}
  .header-actions .btn{display:none}
  .nav{display:none;position:fixed;top:72px;left:0;right:0;bottom:0;background:var(--blush);flex-direction:column;align-items:stretch;gap:0;padding:8px 20px 32px;overflow-y:auto;font-size:20px;font-weight:600}
  [dir="rtl"] .nav{font-size:20px;font-weight:700}
  .menu-open .nav{display:flex}
  .menu-open{overflow:hidden}
  .nav a{display:flex;align-items:center;justify-content:space-between;min-height:60px;border-bottom:1px solid var(--line);padding:0}
  .nav a::after{content:"→";color:var(--burgundy)}
  [dir="rtl"] .nav a::after{content:"←"}
  .nav .nav-extra{display:flex;flex-direction:column;gap:12px;margin-top:32px}
  .nav .nav-extra a{border:1.5px solid var(--burgundy);justify-content:center;min-height:52px;font-size:16px}
  .nav .nav-extra a::after{content:none}
  .nav .nav-extra .btn-primary{color:var(--blush)}
}

@media (max-width:720px){
  .wrap{padding:0 20px}
  body{font-size:16px}
  h1{font-size:34px;line-height:1.15;margin-bottom:18px}
  [dir="rtl"] h1{font-size:32px;line-height:1.4}
  h2{font-size:28px}
  .lead{font-size:16px;margin-bottom:28px}
  [dir="rtl"] .lead{font-size:17px}
  .body-lg{font-size:16px}
  .eyebrow{font-size:12px;letter-spacing:.14em}
  .hero{padding-top:40px;padding-bottom:48px;gap:32px}
  .hero-visual{height:260px;flex-basis:100%}
  .btn-row{flex-direction:column}
  .btn-row .btn,.mfg .btn,.dist-text .btn,.franchise .btn{width:100%}
  .stats .wrap{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px;padding-top:32px;padding-bottom:32px}
  .stat-num{font-size:32px}
  .stat-label{font-size:13px}
  .section{padding-top:64px;padding-bottom:64px}
  .section-head{margin-bottom:28px}
  .section-head .link-strong{display:none}
  .swipe-hint{display:block}
  .brands{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;margin:0 -20px;padding:0 20px 8px}
  .brand{flex:0 0 290px;scroll-snap-align:start}
  .brand-visual{height:180px}
  .brand-body{padding:24px}
  .brand h3{font-size:22px}
  .mfg .wrap{gap:28px}
  .mfg-text p{font-size:16px;margin-bottom:28px}
  .caps{display:flex;flex-direction:column;background:none;gap:0;border-top:1px solid #8A3A49}
  .cap{padding:18px 0;border-bottom:1px solid #8A3A49}
  .cap h3{font-size:17px;margin-bottom:4px}
  .cap p{font-size:14px}
  .dist{gap:28px}
  .dist-visual{height:200px;order:2;flex-basis:100%}
  .dist-text{order:1}
  .franchise .wrap{padding-top:56px;padding-bottom:56px;gap:28px}
  .partner-grid{display:flex;flex-direction:column;margin-bottom:40px}
  .ptile{min-height:0;flex-direction:row;align-items:center;justify-content:space-between;padding:18px 20px}
  .ptile span{display:flex;flex-direction:column}
  .ptile i{margin-top:0}
  .form-card{grid-template-columns:minmax(0,1fr);padding:24px}
  .form-foot .btn{width:100%}
  .site-footer .wrap{padding-top:48px;padding-bottom:32px}
  .foot-top{gap:28px}
  .foot-col{flex:1 1 40%}
  .foot-col.wide{flex-basis:100%}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
