@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #F5EFE3;
  --surface: #FBF7EC;
  --surface-alt: #EDE3CC;
  --text: #1F1B16;
  --text-muted: #5C5347;
  --border: #E0D6BF;
  --accent: #8A6A2E;
  --accent-hover: #6E5320;
  --accent-deep: #3E2A1A;
  --parchment-wash: linear-gradient(135deg, #F5EFE3 0%, #EBE2CC 100%);

  --shadow-hairline: 0 1px 2px rgba(31, 27, 22, 0.04);
  --shadow-card: 0 4px 12px rgba(31, 27, 22, 0.06), 0 1px 3px rgba(31, 27, 22, 0.04);
  --shadow-card-hover: 0 10px 24px rgba(31, 27, 22, 0.10), 0 2px 6px rgba(31, 27, 22, 0.05);
  --shadow-hero-text: 0 24px 48px rgba(31, 27, 22, 0.18);

  --radius-button: 10px;
  --radius-card: 12px;
  --radius-hero-frame: 16px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition: 220ms var(--ease);

  --max-width: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Assistant', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  direction: rtl;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 640px) {
  body { font-size: 16px; }
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

h1, h2, h3, h4 {
  font-family: 'Assistant', sans-serif;
  color: var(--text);
  margin: 0 0 0.5em;
}

h1 {
  font-weight: 800;
  font-size: clamp(40px, 6.5vw, 64px);
  letter-spacing: -0.015em;
  line-height: 1.08;
}

h2 {
  font-weight: 700;
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -0.005em;
  line-height: 1.18;
}

h3 {
  font-weight: 600;
  font-size: clamp(20px, 2.3vw, 22px);
  line-height: 1.3;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(56px, 9vw, 96px) 0;
}

.section--alt {
  background-color: var(--surface-alt);
}

.section--dark {
  background-color: var(--accent-deep);
  color: var(--surface);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--surface);
}

.section--bg {
  background-color: var(--bg);
}

.section-divider {
  height: 1px;
  background: var(--border);
  border: 0;
  margin: 0;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--accent-deep);
  color: var(--surface);
  border-bottom: 1px solid rgba(224, 214, 191, 0.18);
  box-shadow: var(--shadow-hairline);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.nav__brand {
  font-weight: 800;
  font-size: 20px;
  color: var(--surface);
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav__brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-deep);
  font-weight: 800;
  font-size: 15px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  font-weight: 500;
  font-size: 15px;
  color: rgba(251, 247, 236, 0.85);
  letter-spacing: 0.01em;
  padding: 8px 2px;
  position: relative;
  transition: color var(--transition);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--surface);
}

.nav__link.is-active::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--surface);
  padding: 9px 18px;
  border-radius: var(--radius-button);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: background var(--transition), transform var(--transition);
}

.nav__cta:hover {
  background: var(--accent-hover);
  color: var(--surface);
}

.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(224, 214, 191, 0.25);
  color: var(--surface);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-button);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav__toggle svg { width: 22px; height: 22px; }

@media (max-width: 820px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: var(--accent-deep);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    border-top: 1px solid rgba(224, 214, 191, 0.12);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }
  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__menu li { width: 100%; }
  .nav__link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(224, 214, 191, 0.08);
  }
  .nav__menu .nav__cta {
    width: 100%;
    justify-content: center;
    margin-top: 12px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92vh;
  background-color: var(--accent-deep);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero--compact { min-height: 56vh; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31, 27, 22, 0.55), rgba(31, 27, 22, 0.25));
  z-index: 1;
}

.hero--compact .hero__overlay {
  background: linear-gradient(135deg, rgba(31, 27, 22, 0.78), rgba(31, 27, 22, 0.58));
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(48px, 10vh, 96px) 0;
}

.hero__content {
  max-width: 640px;
  margin-inline-start: auto;
  text-align: start;
  color: var(--surface);
  text-shadow: var(--shadow-hero-text);
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 239, 227, 0.14);
  border: 1px solid rgba(245, 239, 227, 0.28);
  color: var(--surface);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: none;
}

.hero__title {
  color: var(--surface);
  font-weight: 800;
  margin-bottom: 18px;
}

.hero__subtitle {
  font-size: clamp(17px, 1.7vw, 19px);
  color: rgba(251, 247, 236, 0.92);
  max-width: 540px;
  margin-bottom: 32px;
  line-height: 1.55;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 640px) {
  .hero { min-height: 78vh; background-attachment: scroll; }
  .hero--compact { min-height: 48vh; }
  .hero__content { text-align: start; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-button);
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.005em;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 180ms var(--ease), color var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--surface);
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--surface);
}

.btn--ghost {
  background: transparent;
  color: var(--surface);
  border-color: rgba(245, 239, 227, 0.55);
}
.btn--ghost:hover {
  background: rgba(245, 239, 227, 0.08);
  color: var(--surface);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--accent-deep);
  border-color: var(--accent-deep);
}
.btn--ghost-dark:hover {
  background: var(--accent-deep);
  color: var(--surface);
}

.btn--large {
  padding: 16px 28px;
  font-size: 17px;
}

.btn--block { width: 100%; }

.btn svg { width: 18px; height: 18px; }

/* ---------- Value props ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .values { grid-template-columns: 1fr; }
}

.value {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.value:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.value__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-button);
  background: rgba(138, 106, 46, 0.10);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.value__icon svg { width: 24px; height: 24px; }

.value__title {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 8px;
}

.value__body {
  color: var(--text-muted);
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- Section heading ---------- */
.section__head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section__title { margin: 0 0 14px; }

.section__lead {
  color: var(--text-muted);
  font-size: 17px;
  margin: 0;
}

/* ---------- Product grid ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 1024px) {
  .products { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 560px) {
  .products { grid-template-columns: 1fr; }
}

.product {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.product:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.product__image {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  filter: saturate(0.95) contrast(1.02);
}

.product__body {
  padding: 22px 22px 26px;
}

.product__title {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 6px;
}

.product__desc {
  color: var(--text-muted);
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- Merchant band (why work with us) ---------- */
.merchant {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .merchant { grid-template-columns: 1fr; gap: 36px; }
}

.merchant__copy h2 {
  color: var(--surface);
  margin-bottom: 18px;
}

.merchant__copy p {
  color: rgba(251, 247, 236, 0.85);
  font-size: 17px;
  line-height: 1.7;
  max-width: 520px;
}

.merchant__image {
  border-radius: var(--radius-hero-frame);
  overflow: hidden;
  border: 1px solid rgba(245, 239, 227, 0.15);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.merchant__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  filter: saturate(0.95) contrast(1.02);
}

.guarantees {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.guarantee {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
}

.guarantee__num {
  font-family: 'Assistant', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--accent);
  line-height: 1;
  padding-top: 4px;
}

.guarantee__title {
  font-weight: 700;
  color: var(--surface);
  font-size: 18px;
  margin: 0 0 4px;
}

.guarantee__body {
  color: rgba(251, 247, 236, 0.75);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

/* ---------- Craft gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
}

.gallery__cell {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-card);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  filter: saturate(0.95) contrast(1.02);
  transition: transform var(--transition);
}

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

.gallery__caption {
  margin-top: 22px;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  max-width: 640px;
  margin-inline: auto;
}

/* ---------- Closing CTA / contact form ---------- */
.cta-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-block h2 { margin-bottom: 14px; }

.cta-block p {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 28px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-card {
  max-width: 640px;
  margin: 36px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-card);
  text-align: start;
}

.contact-card__head {
  text-align: center;
  margin-bottom: 22px;
}

.contact-card__head h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.contact-card__head p {
  color: var(--text-muted);
  margin: 0;
  font-size: 15px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}

.field { display: flex; flex-direction: column; gap: 6px; }

.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.field input,
.field textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-button);
  padding: 12px 14px;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  box-shadow: var(--shadow-hairline);
  direction: rtl;
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(138, 106, 46, 0.15);
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(92, 83, 71, 0.55); }

.field__hint {
  font-size: 13px;
  color: var(--text-muted);
}

.field.is-error input,
.field.is-error textarea { border-color: #B45A3A; }

.field__error {
  color: #B45A3A;
  font-size: 13px;
  margin: 0;
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.form-message {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius-button);
  font-size: 15px;
  display: none;
  border: 1px solid transparent;
  text-align: center;
}

.form-message.is-visible { display: block; }

.form-message--success {
  background: rgba(138, 106, 46, 0.08);
  color: var(--accent-deep);
  border-color: rgba(138, 106, 46, 0.30);
}

.form-message--error {
  background: rgba(180, 90, 58, 0.08);
  color: #80361E;
  border-color: rgba(180, 90, 58, 0.30);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--accent-deep);
  color: rgba(251, 247, 236, 0.78);
  padding: 64px 0 28px;
  margin-top: 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--surface);
  font-weight: 800;
  font-size: 22px;
}

.footer__tagline {
  color: rgba(251, 247, 236, 0.72);
  font-size: 15px;
  line-height: 1.6;
  max-width: 320px;
  margin: 0;
}

.footer__heading {
  color: var(--surface);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer__list a {
  color: rgba(251, 247, 236, 0.78);
  font-size: 15px;
}

.footer__list a:hover { color: var(--surface); }

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(251, 247, 236, 0.78);
}

.footer__contact-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

.footer__bottom {
  border-top: 1px solid rgba(224, 214, 191, 0.15);
  padding-top: 22px;
  text-align: center;
}

.footer__copy {
  color: rgba(251, 247, 236, 0.6);
  font-size: 14px;
  margin: 0 0 6px;
}

.footer-signature {
  font-size: 0.75rem;
  text-align: center;
  color: rgba(251, 247, 236, 0.6);
  margin: 0;
}

.footer-signature a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-signature a:hover { color: var(--surface); }

/* ---------- FAQ ---------- */
.intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.intro p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

.faq {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq__item:nth-child(even) { background: var(--surface-alt); }

.faq__item.is-open { box-shadow: var(--shadow-card-hover); }

.faq__trigger {
  width: 100%;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: start;
  font-family: inherit;
  color: var(--text);
}

.faq__question {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.faq__chevron {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq__item.is-open .faq__chevron { transform: rotate(180deg); }

.faq__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq__panel-inner {
  padding: 0 26px 24px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 16px;
}

.faq__panel-inner p { margin: 0; }

/* ---------- Reassurance strip ---------- */
.reassure {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .reassure { grid-template-columns: 1fr; }
}

.reassure__cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.reassure__image {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  filter: saturate(0.95) contrast(1.02);
}

.reassure__caption {
  padding: 18px 22px 22px;
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
  line-height: 1.55;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .hero { background-attachment: scroll; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Multi-step flow (utility — reserved for any wizard container) ---------- */
.funnel-page { display: none; }
.funnel-page.active { display: block; }
.wizard-step { display: none; }
.wizard-step.active { display: block; }
.quote-step { display: none; }
.quote-step.active { display: block; }

/* ---------- Utility ---------- */
.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;
}
