:root {
  --ink: #142735;
  --muted: #52636c;
  --cloud: #f4f5f2;
  --white: #ffffff;
  --line: #d7deda;
  --blue: #0f86bf;
  --blue-deep: #09628e;
  --spruce: #2d554d;
  --warm: #b87345;
  --warm-soft: #f4eadf;
  --shadow: 0 18px 48px rgba(20, 39, 53, 0.12);
  --serif: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: Aptos, "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cloud);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; }

button { cursor: pointer; }

img { display: block; max-width: 100%; }

:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; }

.skip-link {
  background: var(--white);
  left: 16px;
  padding: 8px 12px;
  position: fixed;
  top: -100px;
  z-index: 100;
}

.skip-link:focus { top: 16px; }

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(20, 39, 53, 0.09);
  position: sticky;
  top: 0;
  z-index: 30;
}

.nav-shell {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1360px;
  min-height: 74px;
  padding: 10px 32px;
}

.brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
}

.brand-mark {
  border: 3px solid var(--blue);
  display: grid;
  height: 32px;
  place-items: center;
  position: relative;
  transform: skewY(-8deg);
  width: 24px;
}

.brand-mark::before,
.brand-mark::after {
  border-left: 2px solid var(--blue);
  content: "";
  height: 25px;
  position: absolute;
  top: 0;
}

.brand-mark::before { left: 6px; }
.brand-mark::after { right: 6px; }

.brand-name {
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.brand-tag {
  color: var(--muted);
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-top: 3px;
  text-transform: uppercase;
}

.primary-nav { align-items: center; display: flex; gap: 4px; }

.primary-nav a {
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  padding: 9px 8px 7px;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] { border-bottom-color: var(--blue); color: var(--blue-deep); }

.nav-actions { align-items: center; display: flex; flex: 0 0 auto; gap: 10px; }

.language-picker {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  min-height: 38px;
  padding: 0 28px 0 10px;
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--line);
  display: none;
  height: 38px;
  padding: 0;
  width: 42px;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  background: var(--ink);
  content: "";
  display: block;
  height: 2px;
  margin: 5px auto;
  width: 18px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 3px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 750;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--blue); color: var(--white); }
.button-primary:hover { background: var(--blue-deep); }
.button-secondary { background: var(--white); border-color: var(--ink); color: var(--ink); }
.button-secondary:hover { background: var(--ink); color: var(--white); }
.button-quiet { background: transparent; border-color: rgba(255,255,255,0.65); color: var(--white); }
.button-quiet:hover { background: var(--white); color: var(--ink); }

main { overflow: hidden; }

.hero {
  align-items: end;
  background-color: #2d554d;
  background-position: center;
  background-size: cover;
  color: var(--white);
  display: grid;
  min-height: min(780px, calc(100svh - 74px));
  position: relative;
}

.hero::before { background: rgba(12, 34, 43, 0.45); content: ""; inset: 0; position: absolute; }

.hero-content {
  margin: 0 auto;
  max-width: 1360px;
  padding: 112px 32px 70px;
  position: relative;
  width: 100%;
}

.eyebrow {
  color: var(--warm);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero .eyebrow { color: #c9e7f5; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 { color: var(--ink); letter-spacing: 0; }

h1, h2 { font-family: var(--serif); font-weight: 700; }

h1 { color: var(--white); font-size: clamp(42px, 6vw, 82px); line-height: 0.99; margin-bottom: 24px; max-width: 760px; }
h2 { font-size: clamp(30px, 4vw, 51px); line-height: 1.08; margin-bottom: 16px; }
h3 { font-size: 20px; line-height: 1.22; margin-bottom: 8px; }

.hero-copy { color: rgba(255,255,255,0.92); font-size: 19px; max-width: 610px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.trust-strip { background: var(--ink); color: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 auto; max-width: 1360px; }
.trust-item { border-right: 1px solid rgba(255,255,255,0.2); padding: 22px 32px; }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-family: var(--serif); font-size: 21px; }
.trust-item span { color: rgba(255,255,255,0.74); font-size: 14px; }

.section { padding: 92px 32px; }
.section-alt { background: var(--white); }
.section-deep { background: var(--ink); color: var(--white); }
.section-deep h2, .section-deep h3 { color: var(--white); }
.section-deep .section-lead { color: rgba(255,255,255,0.8); }
.section-shell { margin: 0 auto; max-width: 1360px; }
.section-heading { align-items: end; display: flex; gap: 32px; justify-content: space-between; margin-bottom: 42px; }
.section-heading > div:first-child { max-width: 760px; }
.section-lead { color: var(--muted); font-size: 18px; max-width: 690px; }

.feature-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.feature { border-top: 3px solid var(--blue); padding-top: 18px; }
.feature p { color: var(--muted); margin-bottom: 0; }

.product-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.product-card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.product-card:nth-child(5), .product-card:nth-child(6), .product-card:nth-child(7) { grid-column: span 1; }
.product-card img { aspect-ratio: 1.18 / 1; object-fit: cover; width: 100%; }
.product-card-body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.product-card p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.text-link { color: var(--blue-deep); font-weight: 750; margin-top: auto; }
.text-link:hover { color: var(--warm); }

.image-text { align-items: stretch; display: grid; gap: 50px; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.image-text.reverse > :first-child { order: 2; }
.image-panel { min-height: 480px; position: relative; }
.image-panel img { height: 100%; object-fit: cover; position: absolute; width: 100%; }
.image-text-copy { align-self: center; }
.image-text-copy p { color: var(--muted); font-size: 17px; }
.check-list { list-style: none; margin: 28px 0 0; padding: 0; }
.check-list li { border-top: 1px solid var(--line); font-weight: 650; padding: 13px 0 13px 26px; position: relative; }
.check-list li::before { color: var(--blue); content: "+"; font-size: 20px; left: 0; line-height: 1; position: absolute; top: 11px; }

.case-grid { display: grid; gap: 16px; grid-template-columns: 1.15fr 0.85fr 0.85fr; grid-template-rows: 310px 310px; }
.case-card { overflow: hidden; position: relative; }
.case-card:first-child { grid-row: span 2; }
.case-card img { height: 100%; object-fit: cover; transition: transform 250ms ease; width: 100%; }
.case-card:hover img { transform: scale(1.025); }
.case-card-caption { background: rgba(12,34,43,0.82); bottom: 0; color: var(--white); left: 0; padding: 14px 16px; position: absolute; right: 0; }
.case-card-caption strong { display: block; font-family: var(--serif); font-size: 20px; }
.case-card-caption span { color: rgba(255,255,255,0.75); font-size: 13px; }

.quote-band { background: var(--warm-soft); }
.quote-band .section-shell { align-items: center; display: flex; gap: 40px; justify-content: space-between; }
.quote-band h2 { margin-bottom: 4px; }
.quote-band p { color: var(--muted); margin-bottom: 0; }

.page-hero { background-color: var(--ink); background-position: center; background-size: cover; color: var(--white); min-height: 380px; position: relative; }
.page-hero::before { background: rgba(12, 34, 43, 0.58); content: ""; inset: 0; position: absolute; }
.page-hero-inner { margin: 0 auto; max-width: 1360px; padding: 128px 32px 60px; position: relative; }
.page-hero h1 { font-size: clamp(42px, 5.5vw, 70px); margin-bottom: 12px; max-width: 760px; }
.page-hero p { color: rgba(255,255,255,0.86); font-size: 18px; max-width: 650px; }

.stats-row { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); margin: 38px 0; }
.stat { border-right: 1px solid var(--line); padding: 20px; }
.stat:last-child { border-right: 0; }
.stat strong { color: var(--blue-deep); display: block; font-family: var(--serif); font-size: 28px; }
.stat span { color: var(--muted); font-size: 14px; }

.process-grid { counter-reset: solution; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.process-card { background: var(--white); border: 1px solid var(--line); padding: 25px; }
.process-card::before { color: var(--warm); content: "0" counter(solution); counter-increment: solution; display: block; font-family: var(--serif); font-size: 34px; margin-bottom: 25px; }
.process-card p { color: var(--muted); margin-bottom: 0; }

.quality-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.quality-card { border: 1px solid rgba(255,255,255,0.22); padding: 23px; }
.quality-card span { color: #b9ddec; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.quality-card p { color: rgba(255,255,255,0.76); margin-bottom: 0; }

.project-gallery { display: grid; gap: 14px; grid-template-columns: repeat(12, 1fr); }
.project-tile { background: var(--white); border: 1px solid var(--line); min-height: 240px; overflow: hidden; position: relative; }
.project-tile:nth-child(1), .project-tile:nth-child(5), .project-tile:nth-child(9) { grid-column: span 7; }
.project-tile:nth-child(2), .project-tile:nth-child(6), .project-tile:nth-child(10) { grid-column: span 5; }
.project-tile:nth-child(3), .project-tile:nth-child(4), .project-tile:nth-child(7), .project-tile:nth-child(8), .project-tile:nth-child(11), .project-tile:nth-child(12) { grid-column: span 4; }
.project-tile img { height: 100%; min-height: 240px; object-fit: cover; position: absolute; width: 100%; }
.project-tile span { background: rgba(20,39,53,0.82); bottom: 0; color: var(--white); font-size: 13px; font-weight: 750; left: 0; padding: 10px 12px; position: absolute; }

.notice { background: var(--warm-soft); border-left: 4px solid var(--warm); color: var(--ink); max-width: 900px; padding: 18px 20px; }
.notice p { margin: 0; }

.faq-list { border-top: 1px solid var(--line); max-width: 920px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-button { align-items: center; background: transparent; border: 0; color: var(--ink); display: flex; font-size: 18px; font-weight: 750; gap: 20px; justify-content: space-between; padding: 21px 0; text-align: left; width: 100%; }
.faq-button::after { color: var(--blue); content: "+"; font-size: 27px; font-weight: 400; }
.faq-button[aria-expanded="true"]::after { content: "−"; }
.faq-answer { color: var(--muted); display: none; max-width: 760px; padding: 0 40px 20px 0; }
.faq-answer.is-open { display: block; }

.contact-grid { display: grid; gap: 64px; grid-template-columns: 0.8fr 1.2fr; }
.contact-details { background: var(--ink); color: var(--white); padding: 32px; }
.contact-details h2, .contact-details h3 { color: var(--white); }
.contact-details p { color: rgba(255,255,255,0.74); }
.contact-method { border-top: 1px solid rgba(255,255,255,0.22); display: block; padding: 16px 0; }
.contact-method small { color: #b9ddec; display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-method strong { font-size: 18px; }

.quote-form { background: var(--white); border: 1px solid var(--line); padding: 32px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 800; }
.field input, .field select, .field textarea { background: #fbfcfa; border: 1px solid #bdc9c3; border-radius: 2px; color: var(--ink); min-height: 44px; padding: 10px 12px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { color: var(--muted); font-size: 13px; margin-top: 12px; }

.product-detail { display: grid; gap: 48px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.product-detail-media { background: var(--white); border: 1px solid var(--line); min-height: 480px; }
.product-detail-media img { height: 100%; object-fit: cover; width: 100%; }
.product-detail p { color: var(--muted); font-size: 17px; }
.spec-list { border-top: 1px solid var(--line); margin: 28px 0; }
.spec-list div { border-bottom: 1px solid var(--line); display: grid; gap: 16px; grid-template-columns: 0.8fr 1.2fr; padding: 12px 0; }
.spec-list dt { color: var(--muted); font-size: 14px; }
.spec-list dd { font-weight: 700; margin: 0; }

.site-footer { background: #0c1c26; color: var(--white); padding: 64px 32px 24px; }
.footer-shell { display: grid; gap: 40px; grid-template-columns: 1.3fr 0.85fr 0.85fr; margin: 0 auto; max-width: 1360px; }
.footer-brand { align-items: center; display: flex; gap: 18px; }
.footer-logo { background: var(--white); height: 95px; object-fit: contain; width: 82px; }
.footer-brand h2 { color: var(--white); font-size: 29px; margin: 0; }
.footer-brand p { color: rgba(255,255,255,0.7); margin: 6px 0 0; }
.footer-heading { color: #b9ddec; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; margin: 0 0 16px; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: rgba(255,255,255,0.78); font-size: 14px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.17); color: rgba(255,255,255,0.55); font-size: 12px; margin: 45px auto 0; max-width: 1360px; padding-top: 20px; }

.floating-whatsapp {
  align-items: center;
  background: #217551;
  border: 2px solid var(--white);
  border-radius: 50%;
  bottom: 20px;
  box-shadow: 0 8px 24px rgba(20,39,53,0.22);
  color: var(--white);
  display: flex;
  font-size: 11px;
  font-weight: 800;
  height: 58px;
  justify-content: center;
  position: fixed;
  right: 20px;
  text-align: center;
  width: 58px;
  z-index: 24;
}
.floating-whatsapp:hover { background: #18593e; }

[dir="rtl"] { font-family: Tahoma, Arial, sans-serif; }
[dir="rtl"] .brand-tag, [dir="rtl"] .eyebrow, [dir="rtl"] .footer-heading { letter-spacing: 0; }
[dir="rtl"] .check-list li { padding-left: 0; padding-right: 26px; }
[dir="rtl"] .check-list li::before { left: auto; right: 0; }
[dir="rtl"] .faq-button { text-align: right; }
[dir="rtl"] .faq-answer { padding-left: 40px; padding-right: 0; }

@media (max-width: 1120px) {
  .nav-shell { gap: 12px; padding-inline: 22px; }
  .primary-nav { gap: 0; }
  .primary-nav a { font-size: 13px; padding-inline: 6px; }
  .nav-actions .button { display: none; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .quality-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav-shell { min-height: 66px; padding: 9px 18px; }
  .brand-name { font-size: 22px; }
  .nav-toggle { display: block; }
  .primary-nav { background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 32px rgba(20,39,53,0.1); display: none; left: 0; padding: 14px 18px 20px; position: absolute; right: 0; top: 65px; }
  .primary-nav.is-open { display: grid; }
  .primary-nav a { border-bottom: 1px solid var(--line); font-size: 15px; padding: 11px 0; }
  .primary-nav a:last-child { border-bottom: 0; }
  .nav-actions { margin-left: auto; }
  .language-picker { min-height: 36px; }
  .hero { min-height: 620px; }
  .hero-content, .page-hero-inner { padding-inline: 22px; }
  .hero-content { padding-bottom: 52px; padding-top: 80px; }
  .trust-grid, .feature-grid, .process-grid, .contact-grid, .product-detail { grid-template-columns: 1fr; }
  .trust-item { border-bottom: 1px solid rgba(255,255,255,0.2); border-right: 0; padding: 17px 22px; }
  .trust-item:last-child { border-bottom: 0; }
  .section { padding: 66px 22px; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 28px; }
  .image-text { gap: 30px; grid-template-columns: 1fr; }
  .image-text.reverse > :first-child { order: initial; }
  .image-panel { min-height: 340px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 240px 240px; }
  .case-card:first-child { grid-column: span 2; grid-row: auto; }
  .quote-band .section-shell { align-items: start; flex-direction: column; gap: 22px; }
  .project-tile:nth-child(n) { grid-column: span 6; }
  .footer-shell { grid-template-columns: 1fr 1fr; }
  .footer-shell > :first-child { grid-column: span 2; }
}

@media (max-width: 520px) {
  .brand-mark { height: 28px; width: 22px; }
  .brand-tag { font-size: 9px; }
  .language-picker { min-width: 108px; }
  h1 { font-size: 42px; }
  .hero-copy { font-size: 17px; }
  .product-grid, .quality-grid, .footer-shell, .form-row { grid-template-columns: 1fr; }
  .product-card img { aspect-ratio: 1.3 / 1; }
  .case-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; }
  .case-card, .case-card:first-child { grid-column: auto; min-height: 250px; }
  .stats-row { grid-template-columns: 1fr; }
  .stat { border-bottom: 1px solid var(--line); border-right: 0; }
  .stat:last-child { border-bottom: 0; }
  .project-tile:nth-child(n) { grid-column: span 12; }
  .quote-form, .contact-details { padding: 24px; }
  .footer-shell > :first-child { grid-column: auto; }
  .floating-whatsapp { bottom: 14px; right: 14px; }
}
