/* ============================================================
   Ezat Ali Mohammad Hassan Co. — Premium Export Website
   ============================================================ */

:root {
  --forest: #0B3D2E;
  --forest-dark: #072A1F;
  --emerald: #1B5E20;
  --emerald-light: #2E7D32;
  --gold: #C9A227;
  --gold-light: #E3C566;
  --ivory: #FDFBF3;
  --cream: #F6F1E3;
  --white: #FFFFFF;
  --text-dark: #22302A;
  --text-muted: #5E6E66;
  --shadow-sm: 0 4px 14px rgba(11, 61, 46, .08);
  --shadow-md: 0 12px 30px rgba(11, 61, 46, .14);
  --shadow-lg: 0 24px 60px rgba(11, 61, 46, .22);
  --radius: 18px;
  --radius-lg: 26px;
  --transition: .35s cubic-bezier(.22, .61, .36, 1);
  --navbar-h: 78px;
}

[data-theme="dark"] {
  --ivory: #0E1B16;
  --cream: #12241C;
  --white: #16281F;
  --text-dark: #EDE9DB;
  --text-muted: #A8B8AF;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, .35);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, .45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .55);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--navbar-h) + 20px); }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--ivory);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}

h1, h2, h3, h4, .serif { font-family: Georgia, 'Times New Roman', serif; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

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

/* ---------- Section base ---------- */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--cream); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold); font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; font-size: .8rem; margin-bottom: 14px;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: ""; width: 34px; height: 1px; background: var(--gold); opacity: .7;
}
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: var(--emerald); line-height: 1.25; }
[data-theme="dark"] .section-title { color: var(--gold-light); }
.section-sub { color: var(--text-muted); margin-top: 14px; font-size: 1.05rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--forest-dark);
  color: #D9E4DC; font-size: .85rem;
  padding: 9px 0; position: relative; z-index: 1030;
}
.topbar .container-wide { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #D9E4DC; transition: color .3s; }
.topbar a:hover { color: var(--gold-light); }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar .fab { font-size: .95rem; }
.lang-switch { background: transparent; border: 1px solid rgba(255,255,255,.3); color: #D9E4DC; border-radius: 20px; padding: 2px 12px; font-size: .78rem; transition: var(--transition); }
.lang-switch:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ---------- Navbar ---------- */
.navbar-outer { position: sticky; top: 0; z-index: 1020; transition: var(--transition); }
.navbar-outer.scrolled { box-shadow: var(--shadow-md); }
.main-nav {
  background: rgba(253, 251, 243, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 162, 39, .25);
  transition: background .4s ease;
}
[data-theme="dark"] .main-nav { background: rgba(14, 27, 22, .92); }
.main-nav .container-wide { display: flex; align-items: center; justify-content: space-between; height: var(--navbar-h); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 52px; transition: transform .4s; }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand-text { line-height: 1.2; }
.brand-text .brand-name { font-family: Georgia, serif; font-weight: 700; font-size: 1.02rem; color: var(--emerald); }
[data-theme="dark"] .brand-text .brand-name { color: var(--gold-light); }
.brand-text .brand-tag { font-size: .68rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  padding: 9px 13px; border-radius: 10px; font-weight: 600; font-size: .92rem;
  color: var(--text-dark); position: relative; transition: var(--transition);
}
.nav-links a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px;
  height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.nav-links a:hover, .nav-links a.active { color: var(--emerald-light); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-quote {
  background: linear-gradient(135deg, var(--emerald), var(--forest));
  color: #fff; border: none; padding: 11px 22px; border-radius: 30px;
  font-weight: 700; font-size: .9rem; letter-spacing: .4px;
  box-shadow: var(--shadow-sm); transition: var(--transition); white-space: nowrap;
}
.btn-quote:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: linear-gradient(135deg, var(--emerald-light), var(--emerald)); }

.theme-toggle, .hamburger {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(201,162,39,.4);
  background: transparent; color: var(--emerald); font-size: 1.1rem;
  display: grid; place-items: center; transition: var(--transition);
}
.theme-toggle:hover, .hamburger:hover { background: rgba(201,162,39,.12); }
.hamburger { display: none; flex-direction: column; gap: 5px; }
.hamburger span { width: 22px; height: 2px; background: var(--emerald); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1015; background: rgba(7, 42, 31, .55);
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(340px, 88%);
  background: var(--ivory); box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .4s cubic-bezier(.22,.61,.36,1);
  padding: 100px 34px 34px; overflow-y: auto;
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-panel a {
  display: block; padding: 13px 6px; font-weight: 600; font-size: 1.05rem;
  color: var(--text-dark); border-bottom: 1px solid rgba(201,162,39,.2);
  transition: var(--transition);
}
.mobile-menu-panel a:hover, .mobile-menu-panel a.active { color: var(--emerald-light); padding-left: 14px; }
.mobile-close { position: absolute; top: 24px; right: 24px; background: none; border: none; font-size: 1.6rem; color: var(--text-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  background: url("../images/hero/hero-bg.svg") center/cover no-repeat;
  overflow: hidden; color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(7,42,31,.88) 0%, rgba(11,61,46,.72) 45%, rgba(11,61,46,.35) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 90px 0 70px; max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(227,197,102,.5);
  color: var(--gold-light); padding: 8px 20px; border-radius: 30px;
  font-size: .8rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 700;
  backdrop-filter: blur(6px); animation: fadeDown .8s .2s both;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.12; margin: 26px 0 8px;
  animation: fadeUp .8s .4s both;
}
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero h2 {
  font-family: 'Segoe UI', sans-serif; font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500; color: #CFE3D6; margin-bottom: 20px; animation: fadeUp .8s .55s both;
}
.hero p.lead { color: #AFC8BA; max-width: 600px; font-size: 1.02rem; animation: fadeUp .8s .7s both; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; animation: fadeUp .8s .85s both; }
.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 14px 30px;
  border-radius: 32px; font-weight: 700; font-size: .95rem; border: none;
  transition: var(--transition); letter-spacing: .3px;
}
.btn-gold { background: linear-gradient(135deg, var(--gold), #A9821A); color: #1a1503; box-shadow: 0 10px 26px rgba(201,162,39,.35); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(201,162,39,.45); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-3px); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(227,197,102,.5); }
.btn-ghost:hover { background: rgba(227,197,102,.2); transform: translateY(-3px); }

.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: 1.4rem; z-index: 2; animation: bounce 2.2s infinite;
}
@keyframes bounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,10px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }

/* floating hero leaves */
.hero .float-leaf { position: absolute; z-index: 1; opacity: .5; animation: drift 9s ease-in-out infinite; }
.hero .float-leaf svg { width: 100%; height: auto; }
@keyframes drift {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-26px) rotate(10deg); }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.about-media::before {
  content: ""; position: absolute; inset: -18px auto auto -18px; width: 100%; height: 100%;
  border: 2px solid var(--gold); border-radius: var(--radius-lg); opacity: .45; z-index: -1;
}
.about-exp {
  position: absolute; bottom: -26px; right: -14px;
  background: linear-gradient(135deg, var(--emerald), var(--forest));
  color: #fff; border-radius: var(--radius); padding: 20px 26px;
  box-shadow: var(--shadow-md); text-align: center; border: 1px solid rgba(227,197,102,.4);
}
.about-exp .serif { font-size: 1.5rem; color: var(--gold-light); display: block; }
.about-exp small { letter-spacing: 2px; text-transform: uppercase; font-size: .68rem; opacity: .85; }
.about-text h2 { margin-bottom: 18px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 30px; }
.about-points li { list-style: none; display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: .94rem; }
.about-points li i { color: var(--gold); margin-top: 4px; }

/* ---------- Products ---------- */
.products-toolbar {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  margin-bottom: 44px;
}
.search-box { position: relative; flex: 1 1 300px; max-width: 420px; }
.search-box i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.search-box input {
  width: 100%; padding: 14px 18px 14px 48px; border-radius: 32px;
  border: 1.5px solid rgba(201,162,39,.4); background: var(--white); color: var(--text-dark);
  font-size: .95rem; outline: none; transition: var(--transition);
}
.search-box input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,.15); }
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-pill {
  border: 1.5px solid rgba(201,162,39,.45); background: transparent; color: var(--text-dark);
  padding: 9px 20px; border-radius: 30px; font-weight: 600; font-size: .86rem; transition: var(--transition);
}
.filter-pill:hover { border-color: var(--gold); color: var(--emerald-light); }
.filter-pill.active {
  background: linear-gradient(135deg, var(--emerald), var(--forest)); color: #fff;
  border-color: transparent; box-shadow: var(--shadow-sm);
}
.products-count { color: var(--text-muted); font-size: .88rem; margin: -22px 0 26px; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 28px; }
.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(201,162,39,.14);
  transition: transform .45s cubic-bezier(.22,.61,.36,1), box-shadow .45s;
  display: flex; flex-direction: column; cursor: pointer;
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.product-card-img { position: relative; overflow: hidden; aspect-ratio: 1 / .82; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.product-card:hover .product-card-img img { transform: scale(1.09); }
.product-card-cat {
  position: absolute; top: 14px; left: 14px; background: rgba(7,42,31,.82); color: var(--gold-light);
  font-size: .68rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 13px; border-radius: 20px; backdrop-filter: blur(4px);
}
.product-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card-body h3 { font-size: 1.22rem; color: var(--emerald); margin-bottom: 8px; }
[data-theme="dark"] .product-card-body h3 { color: var(--gold-light); }
.product-card-body p { color: var(--text-muted); font-size: .9rem; flex: 1; }
.product-card-actions { display: flex; gap: 10px; margin-top: 18px; }
.btn-info {
  flex: 1; background: transparent; border: 1.5px solid var(--emerald-light); color: var(--emerald-light);
  padding: 10px 12px; border-radius: 24px; font-weight: 700; font-size: .83rem; transition: var(--transition);
}
.btn-info:hover { background: var(--emerald-light); color: #fff; }
.btn-wa-card {
  width: 44px; border-radius: 24px; border: none; background: #25D366; color: #fff;
  display: grid; place-items: center; font-size: 1.15rem; transition: var(--transition);
}
.btn-wa-card:hover { transform: scale(1.08); background: #1eb856; }
.no-results { grid-column: 1 / -1; text-align: center; padding: 60px 0; color: var(--text-muted); }
.no-results i { font-size: 2.6rem; color: var(--gold); display: block; margin-bottom: 14px; }

/* ---------- Quality / certificates ---------- */
.quality-wrap { background: linear-gradient(160deg, var(--forest-dark), var(--forest) 60%, var(--emerald)); border-radius: var(--radius-lg); padding: 70px 56px; color: #E9F2EC; position: relative; overflow: hidden; }
.quality-wrap::before {
  content: ""; position: absolute; top: -80px; right: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(201,162,39,.22), transparent 70%);
}
.quality-wrap .section-title { color: #fff; }
.quality-wrap .section-sub { color: #B9CFC2; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 34px; margin-top: 50px; }
.cert-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(227,197,102,.35);
  border-radius: var(--radius); overflow: hidden; transition: var(--transition); cursor: zoom-in;
}
.cert-card:hover { transform: translateY(-8px); border-color: var(--gold-light); box-shadow: 0 20px 46px rgba(0,0,0,.35); }
.cert-card img { width: 100%; aspect-ratio: 3 / 4.15; object-fit: contain; background: #fff; padding: 8px; }
.cert-card-body { padding: 20px 24px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cert-card-body h3 { color: var(--gold-light); font-size: 1.15rem; }
.cert-card-body small { display: block; color: #B9CFC2; font-size: .8rem; margin-top: 3px; }
.cert-card-body i { color: var(--gold-light); font-size: 1.2rem; }

/* ---------- Why choose us ---------- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 26px; }
.feature-card {
  background: var(--white); border-radius: var(--radius); padding: 34px 28px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(201,162,39,.14);
  transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--emerald-light));
  transform: scaleX(0); transform-origin: left; transition: transform .5s;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(46,125,50,.14), rgba(201,162,39,.16));
  color: var(--emerald-light); font-size: 1.55rem; margin-bottom: 20px; transition: var(--transition);
}
.feature-card:hover .feature-icon { transform: rotate(-6deg) scale(1.08); color: var(--gold); }
.feature-card h3 { font-size: 1.12rem; margin-bottom: 9px; color: var(--emerald); }
[data-theme="dark"] .feature-card h3 { color: var(--gold-light); }
.feature-card p { color: var(--text-muted); font-size: .9rem; }

/* ---------- Markets ---------- */
.markets-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.world-map { position: relative; }
.world-map img, .world-map svg { width: 100%; filter: drop-shadow(0 18px 34px rgba(11,61,46,.25)); }
.market-pill-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.market-pill {
  display: flex; align-items: center; gap: 13px; background: var(--white);
  border: 1px solid rgba(201,162,39,.22); border-radius: 14px; padding: 13px 17px;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.market-pill:hover { transform: translateX(6px); border-color: var(--gold); }
.market-pill .flag { font-size: 1.7rem; line-height: 1; }
.market-pill b { font-size: .96rem; color: var(--text-dark); }
.market-pill small { display: block; color: var(--text-muted); font-size: .76rem; letter-spacing: 1px; text-transform: uppercase; }
.markets-note { margin-top: 26px; padding: 18px 22px; border-left: 3px solid var(--gold); background: rgba(201,162,39,.08); border-radius: 0 12px 12px 0; color: var(--text-muted); font-size: .95rem; }

/* ---------- Process timeline ---------- */
.timeline { display: flex; gap: 0; counter-reset: step; position: relative; margin-top: 20px; }
.timeline::before {
  content: ""; position: absolute; top: 34px; left: 9%; right: 9%; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--emerald-light)); opacity: .4;
}
.timeline-step { flex: 1; text-align: center; padding: 0 14px; position: relative; }
.timeline-num {
  width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--gold); color: var(--emerald);
  display: grid; place-items: center; font-family: Georgia, serif; font-weight: 700; font-size: 1.25rem;
  box-shadow: var(--shadow-sm); position: relative; z-index: 1; transition: var(--transition);
}
.timeline-step:hover .timeline-num { background: linear-gradient(135deg, var(--emerald), var(--forest)); color: var(--gold-light); transform: scale(1.1); }
.timeline-step h3 { font-size: 1.02rem; margin-bottom: 8px; color: var(--emerald); }
[data-theme="dark"] .timeline-step h3 { color: var(--gold-light); }
.timeline-step p { color: var(--text-muted); font-size: .86rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 50px; align-items: start; }
.contact-info-card {
  background: linear-gradient(165deg, var(--forest), var(--emerald));
  border-radius: var(--radius-lg); padding: 44px 38px; color: #E9F2EC;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.contact-info-card::after {
  content: ""; position: absolute; bottom: -70px; left: -70px; width: 240px; height: 240px;
  border-radius: 50%; border: 34px solid rgba(227,197,102,.14);
}
.contact-info-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.contact-info-card > p { color: #B9CFC2; font-size: .94rem; margin-bottom: 28px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; position: relative; z-index: 1; }
.contact-item i {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(255,255,255,.12); color: var(--gold-light); font-size: 1.1rem; border: 1px solid rgba(227,197,102,.35);
}
.contact-item b { display: block; font-size: .78rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 3px; }
.contact-item a, .contact-item span { color: #E9F2EC; font-size: .95rem; word-break: break-word; }
.contact-item a:hover { color: var(--gold-light); }
.contact-quick { display: flex; gap: 12px; margin-top: 30px; position: relative; z-index: 1; flex-wrap: wrap; }
.contact-quick a {
  flex: 1; min-width: 120px; text-align: center; padding: 13px 10px; border-radius: 14px;
  font-weight: 700; font-size: .86rem; transition: var(--transition);
}
.contact-quick .q-wa { background: #25D366; color: #fff; }
.contact-quick .q-wa:hover { background: #1eb856; transform: translateY(-3px); }
.contact-quick .q-mail { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.contact-quick .q-mail:hover { background: rgba(255,255,255,.24); transform: translateY(-3px); }

.contact-form-card { background: var(--white); border-radius: var(--radius-lg); padding: 44px 40px; box-shadow: var(--shadow-md); border: 1px solid rgba(201,162,39,.18); }
.contact-form-card h3 { font-size: 1.45rem; color: var(--emerald); margin-bottom: 6px; }
[data-theme="dark"] .contact-form-card h3 { color: var(--gold-light); }
.contact-form-card > p { color: var(--text-muted); font-size: .9rem; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 7px; }
.form-group label .req { color: #C0392B; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border-radius: 13px; border: 1.5px solid rgba(94,110,102,.28);
  background: var(--ivory); color: var(--text-dark); font-size: .93rem; font-family: inherit;
  outline: none; transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,.14);
}
.form-group input.invalid, .form-group textarea.invalid, .form-group select.invalid { border-color: #C0392B; box-shadow: 0 0 0 4px rgba(192,57,43,.12); }
.field-error { color: #C0392B; font-size: .78rem; margin-top: 5px; display: none; }
.field-error.show { display: block; }
.form-note { font-size: .78rem; color: var(--text-muted); margin-top: 14px; }
.btn-submit {
  width: 100%; padding: 16px; border: none; border-radius: 32px;
  background: linear-gradient(135deg, var(--gold), #A9821A); color: #1a1503;
  font-weight: 800; font-size: 1rem; letter-spacing: .5px; transition: var(--transition);
  box-shadow: 0 12px 28px rgba(201,162,39,.35);
}
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(201,162,39,.45); }
.form-success {
  display: none; text-align: center; padding: 40px 10px;
}
.form-success.show { display: block; animation: fadeUp .5s both; }
.form-success i { font-size: 3.4rem; color: var(--emerald-light); margin-bottom: 16px; }
.form-success h4 { font-size: 1.3rem; color: var(--emerald); margin-bottom: 8px; }
.form-success p { color: var(--text-muted); font-size: .92rem; }

/* ---------- Footer ---------- */
footer { background: var(--forest-dark); color: #C3D6CA; margin-top: 0; }
.footer-main { padding: 80px 0 50px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 46px; }
.footer-brand img { width: 66px; margin-bottom: 16px; }
.footer-brand h4 { color: #fff; font-size: 1.2rem; margin-bottom: 6px; }
.footer-slogan { color: var(--gold-light); font-family: Georgia, serif; font-style: italic; font-size: .95rem; margin: 8px 0 14px; }
.footer-brand p { font-size: .88rem; color: #9FB5A9; }
footer h5 { color: #fff; font-size: 1rem; letter-spacing: 1px; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
footer h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--gold); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .9rem; color: #9FB5A9; transition: var(--transition); }
.footer-links a:hover { color: var(--gold-light); padding-left: 6px; }
.footer-contact li { list-style: none; display: flex; gap: 11px; margin-bottom: 14px; font-size: .88rem; color: #9FB5A9; }
.footer-contact i { color: var(--gold-light); margin-top: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a, .footer-wa {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #C3D6CA; font-size: 1rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--forest-dark); transform: translateY(-3px); }
.footer-wa { width: auto; padding: 0 18px; gap: 8px; background: #25D366; color: #fff; font-weight: 700; font-size: .85rem; margin-top: 20px; }
.footer-wa:hover { background: #1eb856; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: .85rem; color: #8AA193; }

/* ---------- Modals & lightbox ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000; background: rgba(7,42,31,.72);
  backdrop-filter: blur(6px); display: grid; place-items: center; padding: 22px;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.product-modal {
  background: var(--ivory); border-radius: var(--radius-lg); max-width: 780px; width: 100%;
  max-height: 90vh; overflow-y: auto; position: relative;
  transform: translateY(34px) scale(.97); transition: transform .4s cubic-bezier(.22,.61,.36,1);
  box-shadow: var(--shadow-lg);
}
.modal-overlay.open .product-modal { transform: none; }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 5; width: 42px; height: 42px;
  border-radius: 50%; border: none; background: rgba(7,42,31,.8); color: #fff; font-size: 1.1rem;
  transition: var(--transition);
}
.modal-close:hover { background: var(--gold); color: var(--forest-dark); transform: rotate(90deg); }
.product-modal-grid { display: grid; grid-template-columns: 1fr 1.15fr; }
.product-modal-img { min-height: 320px; }
.product-modal-img img { width: 100%; height: 100%; object-fit: cover; }
.product-modal-body { padding: 40px 36px; }
.product-modal-body .cat-tag { color: var(--gold); font-size: .75rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; }
.product-modal-body h3 { font-size: 1.9rem; color: var(--emerald); margin: 8px 0 14px; }
[data-theme="dark"] .product-modal-body h3 { color: var(--gold-light); }
.product-modal-body p { color: var(--text-muted); font-size: .95rem; margin-bottom: 14px; }
.modal-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 26px; }
.modal-specs div { background: var(--cream); border-radius: 12px; padding: 12px 14px; }
.modal-specs b { display: block; font-size: .7rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.modal-specs span { font-size: .88rem; font-weight: 600; color: var(--text-dark); }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.modal-actions .btn { padding: 12px 22px; font-size: .88rem; }
.btn-wa-modal { background: #25D366; color: #fff; }
.btn-wa-modal:hover { background: #1eb856; transform: translateY(-2px); }
.btn-mail-modal { background: linear-gradient(135deg, var(--emerald), var(--forest)); color: #fff; }
.btn-mail-modal:hover { transform: translateY(-2px); }

.lightbox { max-width: 920px; }
.lightbox img { width: 100%; border-radius: var(--radius-lg); }
.lightbox-caption { text-align: center; color: #fff; margin-top: 16px; font-family: Georgia, serif; font-size: 1.05rem; }

/* ---------- Floating buttons ---------- */
.scroll-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 1500;
  width: 50px; height: 50px; border-radius: 50%; border: none;
  background: linear-gradient(135deg, var(--gold), #A9821A); color: #1a1503;
  font-size: 1.1rem; box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transform: translateY(16px); transition: var(--transition);
}
.scroll-top.show { opacity: 1; pointer-events: auto; transform: none; }
.wa-float {
  position: fixed; left: 24px; bottom: 24px; z-index: 1500;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 12px 30px rgba(37,211,102,.4);
  transition: var(--transition); animation: pulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); } 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; } .reveal-d4 { transition-delay: .4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .about-grid, .markets-wrap, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .timeline { flex-direction: column; gap: 40px; }
  .timeline::before { top: 40px; bottom: 40px; left: 33px; right: auto; width: 2px; height: auto; }
  .timeline-step { display: flex; gap: 24px; text-align: left; align-items: flex-start; padding: 0; }
  .timeline-num { margin: 0; flex: 0 0 68px; }
}
@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .topbar-info span:nth-child(3) { display: none; }
  .brand-text .brand-tag { display: none; }
  .btn-quote { display: none; }
  .hero { min-height: 100svh; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .products-toolbar { flex-direction: column; align-items: stretch; }
  .search-box { max-width: none; }
  .about-points { grid-template-columns: 1fr; }
  .market-pill-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .product-modal-grid { grid-template-columns: 1fr; }
  .product-modal-img { min-height: 230px; }
  .quality-wrap { padding: 50px 26px; }
  .contact-form-card { padding: 32px 22px; }
  .contact-info-card { padding: 34px 26px; }
  .footer-main { grid-template-columns: 1fr; gap: 38px; }
  .about-exp { right: 8px; bottom: -18px; padding: 14px 18px; }
}

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