:root {
  --bg: #fff8f8;
  --bg-soft: #f8eef1;
  --panel: #ffffff;
  --panel-2: #fcf4f6;
  --text: #34151f;
  --muted: #6d4956;
  --soft: #8d6471;
  --line: rgba(150, 52, 73, 0.14);
  --accent: #963449;
  --accent-strong: #ad4058;
  --accent-soft: #f2dde3;
  --max: 1220px;
  --radius: 0px;
  --shadow: 0 18px 42px rgba(150, 52, 73, 0.09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Assistant', Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body.lang-he,
body.lang-en {
  font-family: 'Assistant', Arial, Helvetica, sans-serif;
}

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

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

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

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.eyebrow,
.main-nav a,
.button,
.meta,
.footer-links,
.lang-switch {
  font-size: 18px;
}

.eyebrow {
  letter-spacing: 0.28em;
  color: var(--soft);
  margin-bottom: 14px;
  font-weight: 600;
}

body.lang-he .eyebrow,
body.lang-he .main-nav a,
body.lang-he .button,
body.lang-he .meta,
body.lang-he .footer-links,
body.lang-he .lang-switch {
  text-transform: none;
  letter-spacing: normal;
}

.section { padding: 110px 0; }

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-title h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--accent);
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 248, 248, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

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

.header-logo-text {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
  width: auto;
  flex-wrap: nowrap;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}

.main-nav {
  display: flex;
  gap: 24px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  min-width: 0;
}

.main-nav a {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
}

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

.lang-switch {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 0;
  padding: 10px 14px;
  min-width: 92px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 248, 248, 0.70), rgba(255, 248, 248, 0.84)),
    url("images/bottle_up.jpg") center 30%/cover no-repeat;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(150, 52, 73, 0.14), transparent 38%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
  padding: 110px 0 80px;
}

.hero-logo-side {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
}

.hero-content { max-width: 760px; }

h1,
.about-text h2,
.contact-card h2,
.form-panel h2,
.wine-content h3 {
  font-weight: 300;
  letter-spacing: 0.01em;
}

h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  color: var(--accent);
}

.hero-copy {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 690px;
  margin: 26px 0 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 0;
  border: 1px solid var(--line);
  transition: 0.25s ease;
  cursor: pointer;
  font-weight: 600;
}

.button-primary {
  background: var(--accent);
  color: #fff;
  border-color: rgba(150, 52, 73, 0.35);
}

.button-secondary {
  background: #fff;
  color: var(--accent);
}

.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.about-text h2,
.contact-card h2,
.form-panel h2 {
  margin: 0 0 24px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  color: var(--accent);
}

.about-text p,
.contact-card p,
.form-panel p,
.wine-content p,
.contact-item {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 16px;
}

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

.about-image img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
}

.wine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.wine-card {
  display: flex;
  flex-direction: column;
}

.wine-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 35%;
  background: linear-gradient(180deg, #fff, var(--accent-soft));
  padding: 0;
}

.wine-content { padding: 28px; }

.meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}

.wine-content h3 {
  margin: 0 0 12px;
  font-size: 30px;
  color: var(--text);
}

.pairing {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.pairing strong {
  display: block;
  color: var(--soft);
  margin-bottom: 8px;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "i1 i1 i2 i3"
    "i1 i1 i4 i3"
    "i5 i6 i6 i7"
    "i8 i6 i6 i9"
    "i8 i10 i10 i9";
  grid-auto-rows: 180px;
  gap: 16px;
}

.gallery-grid > .gallery-item:nth-child(1) { grid-area: i1; }
.gallery-grid > .gallery-item:nth-child(2) { grid-area: i2; }
.gallery-grid > .gallery-item:nth-child(3) { grid-area: i3; }
.gallery-grid > .gallery-item:nth-child(4) { grid-area: i4; }
.gallery-grid > .gallery-item:nth-child(5) { grid-area: i5; }
.gallery-grid > .gallery-item:nth-child(6) { grid-area: i6; }
.gallery-grid > .gallery-item:nth-child(7) { grid-area: i7; }
.gallery-grid > .gallery-item:nth-child(8) { grid-area: i8; }
.gallery-grid > .gallery-item:nth-child(9) { grid-area: i9; }
.gallery-grid > .gallery-item:nth-child(10) { grid-area: i10; }

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item-wide,
.gallery-item-tall,
.gallery-item-small {
  grid-column: auto;
  grid-row: auto;
}

.contact-card,
.form-panel {
  padding: 34px;
  background: var(--panel-2);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.contact-item-link,
.contact-socials {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-label {
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-inline-end: 8px;
}

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

.contact-item a,
.social-links a {
  color: var(--accent);
  font-weight: 600;
}

.contact-item a:hover,
.social-links a:hover { color: var(--text); }

form {
  display: grid;
  gap: 16px;
}

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

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 0;
  padding: 15px 16px;
  font-size: 15px;
  outline: none;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder { color: #9d7b86; }

input:focus,
textarea:focus { border-color: rgba(150, 52, 73, 0.45); }

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 28px 0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--soft);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.form-status {
  min-height: 28px;
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.4;
}

.form-status.is-success { color: #2c6b3f; }
.form-status.is-error { color: #9a2f45; }

button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.social-links.icon-only {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon-link {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  transition: transform 0.2s ease;
}

.social-icon-link:hover {
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: translateY(-1px) scale(1.04);
}

.social-icon-link svg {
  width: 36px !important;
  height: 36px !important;
  fill: var(--accent);
  display: block;
}

.contact-item.contact-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-item-link a {
  color: var(--accent);
  font-weight: 600;
}

.header-note {
  color: var(--muted);
  margin-top: 14px;
  font-size: 17px;
}

.wine-grid:empty::before {
  content: "";
  display: block;
  min-height: 40px;
}

body.lang-en .about-text,
body.lang-en .contact-card,
body.lang-en .form-panel,
body.lang-en .hero-content,
body.lang-en .section-title,
body.lang-en .footer-row {
  text-align: left;
}

body.lang-en .main-nav { justify-content: flex-start; }
body.lang-en .contact-item.contact-socials { justify-content: flex-start; }

.contact-phone,
.contact-phone a {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  display: inline-block;
  text-align: left;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .hero-inner,
  .about-grid,
  .contact-grid,
  .wine-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "i1 i1"
      "i2 i3"
      "i4 i3"
      "i5 i5"
      "i6 i6"
      "i7 i8"
      "i9 i10";
    grid-auto-rows: 180px;
  }

  .hero-logo-side { order: -1; }
  .hero-logo { max-width: 260px; }

  .wine-card img {
    aspect-ratio: 1 / 1.15;
  }
}

@media (max-width: 920px) {
  .hero-inner,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo-side { order: -1; }

  .nav { gap: 18px; }
  .nav-right { gap: 16px; }
  .main-nav { gap: 18px; }

  .main-nav a,
  .lang-switch {
    font-size: 16px;
  }

  .header-logo-text { height: 38px; }
}

@media (max-width: 760px) {
  .nav {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand lang"
      "menu menu";
    align-items: center;
    gap: 14px 16px;
    min-height: auto;
    padding: 14px 0 16px;
  }

  .brand { grid-area: brand; }

  .nav-right {
    display: contents;
    width: auto;
  }

  .main-nav {
    grid-area: menu;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 18px;
  }

  .main-nav a {
    white-space: nowrap;
    font-size: 16px;
  }

  .lang-switch {
    grid-area: lang;
    min-width: 72px;
    padding: 8px 10px;
    justify-self: end;
    font-size: 16px;
  }

  .hero-inner { padding-top: 86px; }
  .section { padding: 82px 0; }
  .two-col { grid-template-columns: 1fr; }

  .wine-card img,
  .gallery-item img {
    height: auto;
  }

  .wine-card img {
    aspect-ratio: 1 / 1.25;
  }

  .contact-card,
  .form-panel {
    padding: 24px;
  }

  .about-image img { min-height: 360px; }
  .header-logo-text { height: 28px; }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    grid-auto-rows: 240px;
  }

  .gallery-grid > .gallery-item:nth-child(n) { grid-area: auto; }
}

@media (max-width: 640px) {
  .nav { gap: 12px 14px; }
  .header-logo-text { height: 24px; }

  .social-icon-link {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    min-height: 32px;
  }

  .social-icon-link svg {
    width: 32px !important;
    height: 32px !important;
  }
}
