:root {
  --navy: #08213d;
  --navy-2: #0d2d50;
  --charcoal: #20242a;
  --muted: #65717d;
  --line: #e4dfd5;
  --paper: #fffdf8;
  --warm: #f6f0e7;
  --copper: #b86733;
  --gold: #c99a59;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(8, 33, 61, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--charcoal); line-height: 1.6; }
body[dir="rtl"], html[dir="rtl"] body { text-align: right; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(184, 103, 51, 0.35); outline-offset: 3px; }
.sr-only { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 76px;
  padding: 0 6vw;
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(8, 33, 61, 0.08);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 800; font-size: 1.18rem; letter-spacing: 0; }
.brand-mark { display: grid; place-items: center; inline-size: 38px; block-size: 38px; border: 1px solid var(--navy); color: var(--navy); font-family: Georgia, serif; font-size: 1.2rem; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 28px; }
.nav-link { color: #26394c; font-size: 0.92rem; font-weight: 650; padding: 28px 0; }
.nav-link.active, .nav-link:hover { color: var(--copper); }
.nav-dropdown { position: relative; }
.dropdown-panel {
  position: absolute;
  inset-inline-start: -22px;
  top: 68px;
  min-width: 210px;
  display: grid;
  gap: 8px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 180ms ease;
}
.nav-dropdown:hover .dropdown-panel, .nav-dropdown:focus-within .dropdown-panel { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown-panel a { padding: 9px 10px; color: var(--navy); font-weight: 650; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.language-switcher { border: 1px solid var(--line); background: var(--white); color: var(--navy); min-height: 42px; padding: 0 34px 0 12px; border-radius: 999px; font-size: 0.88rem; font-weight: 700; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-secondary { background: transparent; color: var(--navy); border-color: rgba(8, 33, 61, 0.22); }
.btn-copper { background: var(--copper); color: var(--white); }
.menu-toggle { display: none; inline-size: 44px; block-size: 44px; border: 1px solid var(--line); background: var(--white); border-radius: 4px; padding: 10px; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy); }
.mobile-panel { grid-column: 1 / -1; padding: 14px 0 22px; border-top: 1px solid var(--line); }
.mobile-panel nav { display: grid; gap: 12px; }
.mobile-panel .nav-link { padding: 6px 0; }
.mobile-panel .nav-dropdown { display: grid; gap: 8px; }
.mobile-panel .dropdown-panel {
  position: static;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  min-width: 0;
  padding: 0 0 0 16px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.mobile-panel .dropdown-panel a { padding: 4px 0; color: var(--muted); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 4vw;
  align-items: center;
  padding: clamp(38px, 5.4vw, 72px) 6vw;
  min-height: min(650px, calc(100vh - 118px));
  background:
    linear-gradient(90deg, rgba(255,253,248,0.98), rgba(255,253,248,0.88) 48%, rgba(255,253,248,0.56)),
    radial-gradient(circle at 10% 10%, rgba(201,154,89,0.12), transparent 34%);
}
.hero-page { min-height: 500px; }
.hero-copy { max-width: 760px; }
.breadcrumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; color: var(--muted); font-size: 0.9rem; }
.breadcrumbs a { color: var(--copper); font-weight: 750; }
h1, h2, h3 { color: var(--navy); line-height: 1.06; letter-spacing: 0; margin: 0; }
h1 { font-size: clamp(2.45rem, 4.35vw, 4.55rem); max-width: 820px; }
h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
h3 { font-size: 1.14rem; }
p { margin: 0; color: var(--muted); }
.hero p { max-width: 680px; margin-top: 22px; font-size: clamp(1.05rem, 1.3vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(8, 33, 61, 0.1);
}
.hero-media img { width: 100%; height: min(52vh, 500px); object-fit: cover; }
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.trust-list li { padding: 9px 12px; background: rgba(255,255,255,0.72); border: 1px solid var(--line); color: var(--navy); font-weight: 750; font-size: 0.9rem; border-radius: 999px; }

.section { padding: clamp(58px, 7vw, 104px) 6vw; }
.section-muted { background: var(--warm); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.section-heading p { max-width: 680px; font-size: 1.03rem; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.category-card, .service-card, .detail-card, .contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(8, 33, 61, 0.06);
}
.category-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.category-card div, .service-card, .detail-card { padding: 24px; }
.category-card h3, .service-card h3, .detail-card h3 { margin-bottom: 12px; }
.text-link { display: inline-flex; margin-top: 16px; color: var(--copper); font-weight: 850; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service-card { min-height: 210px; }
.service-icon { display: inline-grid; place-items: center; inline-size: 44px; block-size: 44px; margin-bottom: 18px; border: 1px solid rgba(184,103,51,0.35); color: var(--copper); font-weight: 900; }
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 46px;
  align-items: center;
  padding: clamp(58px, 7vw, 104px) 6vw;
  border-top: 1px solid var(--line);
}
.split-section.reverse { grid-template-columns: minmax(340px, 1.1fr) minmax(0, 0.9fr); }
.split-section.reverse > div { order: 2; }
.split-section img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-section p { margin: 18px 0 22px; font-size: 1.06rem; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feature-list li { position: relative; padding-inline-start: 28px; color: #344252; }
.feature-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.74em; inline-size: 9px; block-size: 9px; background: var(--copper); transform: rotate(45deg); }
.process-flow { display: grid; grid-template-columns: repeat(7, minmax(150px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.process-step { min-width: 150px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.process-step span { display: block; color: var(--copper); font-size: 1.9rem; font-weight: 850; margin-bottom: 12px; }
.process-step p { font-size: 0.9rem; margin-top: 10px; }
.product-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.product-strip article { min-height: 100px; display: flex; align-items: end; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy); font-weight: 850; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.detail-card h2 { font-size: 1.55rem; margin-bottom: 14px; }
.note, .sustainability-note { margin-top: 28px; padding: 24px; background: var(--navy); color: var(--white); border-radius: var(--radius); }
.note { color: var(--white); }
.sustainability-note p, .sustainability-note h2 { color: var(--white); }
.sustainability-note p { margin-top: 12px; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; padding: clamp(58px, 7vw, 104px) 6vw; background: var(--warm); }
.rfq-form { display: grid; gap: 18px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { display: grid; gap: 7px; color: var(--navy); font-weight: 750; font-size: 0.93rem; }
input, select, textarea { width: 100%; border: 1px solid #d7d0c4; border-radius: 4px; background: #fff; color: var(--charcoal); padding: 13px 12px; }
textarea { resize: vertical; }
.checkbox { display: flex; align-items: start; gap: 10px; }
.checkbox input { width: 18px; margin-top: 4px; }
.invalid input, .invalid select, .invalid textarea { border-color: #b23622; box-shadow: 0 0 0 3px rgba(178,54,34,0.1); }
.form-guidance { font-size: 0.92rem; }
.form-status { min-height: 24px; font-weight: 750; }
.form-status.success { color: #1e6f43; }
.form-status.error { color: #a02f20; }
.contact-card { padding: 26px; align-self: start; }
.contact-card p { display: grid; gap: 10px; margin: 16px 0 20px; }
.contact-card a { color: var(--navy); font-weight: 850; }
.contact-card span { color: var(--muted); }
.map-placeholder { min-height: 220px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(8,33,61,0.95), rgba(184,103,51,0.75)); color: var(--white); border-radius: var(--radius); font-weight: 850; }

.site-footer { background: var(--navy); color: var(--white); }
.footer-cta { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 52px 6vw; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-cta h2, .site-footer h3 { color: var(--white); }
.footer-cta p, .site-footer p { color: rgba(255,255,255,0.72); margin-top: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; padding: 52px 6vw; }
.footer-grid a { display: block; color: rgba(255,255,255,0.72); margin-top: 9px; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid p a,
.footer-grid p span { display: block; color: rgba(255,255,255,0.72); margin-top: 9px; }
.footer-grid p a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 18px 6vw; color: rgba(255,255,255,0.62); border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.88rem; }
.footer-langs { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1120px) {
  .desktop-nav, .header-cta { display: none; }
  .site-header { grid-template-columns: auto 1fr; }
  .menu-toggle { display: inline-block; }
  .hero, .hero-page { grid-template-columns: 1fr; min-height: auto; }
  .hero-media img { height: 420px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .site-header { min-height: 66px; padding: 0 18px; }
  .brand { font-size: 1rem; }
  .brand-mark { inline-size: 34px; block-size: 34px; }
  .language-switcher { max-width: 116px; }
  .hero, .section, .split-section, .contact-layout { padding-inline: 20px; }
  h1 { font-size: clamp(2.2rem, 12vw, 3.5rem); }
  .hero-media img { height: 300px; }
  .section-heading, .footer-cta, .footer-bottom { display: grid; align-items: start; }
  .split-section, .split-section.reverse { grid-template-columns: 1fr; }
  .split-section.reverse > div { order: 0; }
  .service-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .process-flow { grid-template-columns: 1fr; overflow: visible; }
  .process-step { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
