:root {
  --green: #0b3d2e;
  --green-2: #14543f;
  --red: #a51f24;
  --gold: #b89246;
  --beige: #f4efe5;
  --paper: #ffffff;
  --ink: #262626;
  --muted: #686868;
  --line: #e7dfd2;
  --shadow: 0 20px 50px rgba(24, 24, 24, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

body.is-arabic {
  font-family: "Inter", Tahoma, Arial, sans-serif;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(231, 223, 210, 0.85);
  backdrop-filter: blur(16px);
}

.navbar {
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--green);
  margin-inline-end: auto;
}

.brand-logo {
  display: block;
  width: clamp(176px, 17vw, 228px);
  height: auto;
}

.footer-logo {
  display: block;
  width: min(250px, 100%);
  height: auto;
  margin: 0 0 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #343434;
  font-weight: 600;
  font-size: 0.94rem;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  color: var(--green);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.lang-btn {
  min-width: 42px;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  color: var(--green);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.lang-btn.active {
  color: #fff;
  background: var(--green);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--green);
}

.section,
.section-band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.section-band {
  padding: 58px 0 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 54px;
  min-height: clamp(560px, calc(82vh - 74px), 760px);
}

.eyebrow,
.card-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--green);
  line-height: 1.12;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.45rem);
  max-width: 780px;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
}

h3 {
  font-size: 1.08rem;
}

.hero-subtitle,
.lead,
.section-heading p,
.text-stack p,
.contact-info p,
.details-content p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-subtitle {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: 1.12rem;
}

.hero-actions,
.card-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(184, 146, 70, 0.42);
  outline-offset: 3px;
}

.btn-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 14px 30px rgba(11, 61, 46, 0.22);
}

.btn-secondary {
  color: var(--green);
  border-color: var(--green);
  background: #fff;
}

.btn-gold {
  color: #211a0c;
  background: #e8d09a;
  border-color: #d5b466;
}

.hero-visual {
  position: relative;
  min-height: 500px;
}

.italy-line {
  position: absolute;
  inset: 22px 18px auto auto;
  width: 82%;
  height: 82%;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(11, 61, 46, 0.09), rgba(255, 255, 255, 0.72), rgba(165, 31, 36, 0.1)),
    var(--beige);
  border: 1px solid var(--line);
}

.showcase-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.main-showcase {
  display: grid;
  gap: 18px;
  padding: 16px;
  width: min(500px, 100%);
  margin: 30px 0 0 auto;
}

.founder-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--beige);
  border: 1px solid #d8c9a9;
}

.founder-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  object-position: center;
}

.founder-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(11, 61, 46, 0.72));
  pointer-events: none;
}

.founder-media figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 15px;
  z-index: 1;
  color: #fff;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.32);
}

.image-placeholder {
  display: grid;
  place-items: center;
  padding: 18px;
  min-height: 270px;
  border-radius: var(--radius);
  color: var(--green);
  font-weight: 800;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(11, 61, 46, 0.08), rgba(184, 146, 70, 0.18)),
    repeating-linear-gradient(45deg, #fff, #fff 12px, #f7f2e8 12px, #f7f2e8 24px);
  border: 1px dashed #c7b891;
}

.image-placeholder span {
  max-width: 14rem;
}

.mini-showcase {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: min(430px, 94%);
  margin: 14px 0 0 auto;
}

.mini-showcase .showcase-card {
  display: grid;
  align-content: space-between;
  min-height: 126px;
  padding: 16px;
  font-weight: 800;
  color: var(--green);
}

.mini-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 0.84rem;
  font-weight: 900;
}

.mini-mark.red {
  background: rgba(165, 31, 36, 0.14);
  color: var(--red);
}

.mini-mark.gold {
  background: rgba(184, 146, 70, 0.22);
  color: #6f551f;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.alt-section {
  position: relative;
}

.alt-section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  right: auto;
  width: 100vw;
  transform: translateX(-50%);
  background: #fbf8f1;
  z-index: -1;
}

.lead {
  margin: 0;
  font-size: 1.18rem;
}

.text-stack p:first-child {
  margin-top: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p {
  margin: 16px 0 0;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(24, 24, 24, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 146, 70, 0.55);
  box-shadow: 0 22px 48px rgba(24, 24, 24, 0.1);
}


.product-photo,
.photo-gallery-main img,
.photo-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-photo {
  aspect-ratio: 1 / 1;
  height: auto;
  margin-bottom: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fbf8f1;
}

.photo-gallery-main {
  aspect-ratio: 1 / 1;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fbf8f1;
}

.photo-thumb {
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

.product-card .image-placeholder {
  min-height: 210px;
  margin-bottom: 18px;
}

.category {
  color: var(--gold);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.product-card p {
  color: var(--muted);
}

.feature-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  margin: 9px 0;
  color: #3f3f3f;
}

[dir="rtl"] .feature-list li {
  padding-right: 22px;
  padding-left: 0;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

[dir="rtl"] .feature-list li::before {
  right: 0;
  left: auto;
}

.product-card .card-actions {
  margin-top: auto;
  padding-top: 24px;
}

.details-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.gallery-main {
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.thumb {
  aspect-ratio: 1 / 1;
  min-height: 0;
  border: 1px dashed #c7b891;
  border-radius: var(--radius);
  color: var(--green);
  background: #fbf8f1;
  cursor: pointer;
}

.thumb.active {
  border-color: var(--red);
  background: #fff;
}



.video-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  color: var(--green);
  font-weight: 800;
  border-bottom: 2px solid var(--gold);
}

.product-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #111;
  object-fit: cover;
}

.detail-block {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.spec-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  background: #fbf8f1;
}

.spec-list dt {
  font-weight: 800;
  color: var(--green);
}

.spec-list dd {
  margin: 0;
  color: var(--muted);
}

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

.service-item,
.trust-grid div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.service-item span {
  display: block;
  margin-bottom: 22px;
  color: var(--red);
  font-weight: 800;
}

.trust-grid div {
  color: var(--green);
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 42px;
}

.contact-list {
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.contact-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list a {
  color: var(--green);
  font-weight: 700;
  overflow-wrap: anywhere;
}

[dir="rtl"] .contact-list,
[dir="rtl"] .contact-form,
[dir="rtl"] .details-content,
[dir="rtl"] .product-card,
[dir="rtl"] .section-heading,
[dir="rtl"] .section-copy,
[dir="rtl"] .text-stack,
[dir="rtl"] .lead {
  text-align: right;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row.full,
.form-actions.full,
.form-note.full {
  grid-column: 1 / -1;
}

label {
  color: var(--green);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfbfb;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(184, 146, 70, 0.36);
  border-color: var(--gold);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 0.7fr 1fr;
  gap: 34px;
  padding: 52px max(16px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: var(--green);
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.78);
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 74px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 14px 16px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }

  .nav-open .nav-links {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 12px;
    text-align: center;
  }

  .language-switch {
    margin-top: 12px;
    justify-content: center;
  }

  .hero,
  .section-grid,
  .details-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero-visual {
    min-height: 460px;
  }

  .product-grid,
  .service-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .navbar,
  .section,
  .section-band {
    width: min(100% - 24px, 1180px);
  }

  .section {
    padding: 68px 0;
  }

  .brand-logo {
    width: 156px;
  }

  .hero-actions,
  .card-actions,
  .form-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: auto;
  }

  .italy-line {
    inset: 8px 0 auto auto;
    width: 100%;
    height: 70%;
  }

  .main-showcase {
    margin: 12px auto 0;
  }

  .mini-showcase {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 12px;
  }

  .product-grid,
  .service-grid,
  .trust-grid,
  .site-footer,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .gallery-main {
    min-height: 0;
  }

  .details-layout,
  .contact-form {
    padding: 16px;
  }

  .spec-list div {
    grid-template-columns: 1fr;
  }
}

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