/* ===== Hero: split layout, copy left, home + gastro photo pair right ===== */
.hero {
  --hero-ink: #0f1a17;
  --hero-text: #4a5a56;
  --hero-line: #d5e2de;
  --hero-pale: color-mix(in srgb, var(--color1, #189369) 12%, #fff);

  position: relative;
  background: linear-gradient(180deg, var(--hero-pale) 0%, #fff 78%);
  min-height: calc(100vh - 70px);
  min-height: calc(100svh - 70px);
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 5vw, 64px) 20px 0;
  color: var(--hero-ink);
  overflow: hidden;
  box-sizing: border-box;
}

/* Background details: soft brand-colour glows + faint dot grid that fades out */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  inset: 0;
  background:
    radial-gradient(60% 55% at 0% 0%, color-mix(in srgb, var(--color5, #1D6E93) 10%, transparent), transparent 70%),
    radial-gradient(45% 50% at 100% 100%, color-mix(in srgb, var(--color1, #189369) 12%, transparent), transparent 70%);
}
.hero::after {
  top: 0;
  left: 0;
  width: min(55%, 720px);
  height: 70%;
  background-image: radial-gradient(color-mix(in srgb, var(--color1, #189369) 30%, transparent) 1.2px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 0% 0%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse at 0% 0%, #000 0%, transparent 70%);
}
.hero-inner,
.hero-partners {
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: 1560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  flex: 1;
  width: 100%;
}

/* ---- Copy ---- */
.hero-content {
  display: grid;
  gap: 26px;
  min-width: 0;
}

.hero-title {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
  color: var(--hero-ink);
}

.hero-sub {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  color: var(--hero-text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  text-decoration: none;
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.hero-btn--primary {
  background: var(--color1, #189369);
  color: #fff;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--color1, #189369) 28%, transparent);
}
.hero-btn--primary:hover {
  background: var(--color3, #198A73);
  transform: translateY(-2px);
}

.hero-btn--ghost {
  border: 2px solid var(--color5, #1D6E93);
  color: var(--color5, #1D6E93);
  background: #fff;
}
.hero-btn--ghost:hover {
  background: var(--color5, #1D6E93);
  color: #fff;
}

.hero-btn:active { transform: translateY(1px); }

/* Trust points */
.hero-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: .95rem;
  color: var(--hero-text);
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-trust li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: var(--color1, #189369) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---- Photo pair ---- */
.hero-media {
  position: relative;
  aspect-ratio: 1 / 0.86;
  max-width: 100%;
  max-height: calc(100svh - 70px - 170px);
  min-height: 400px;
  min-width: 0;
  justify-self: end;
  width: 100%;
}

.hero-media { isolation: isolate; }

.hero-blob {
  position: absolute;
  inset: 10% -5% -4% 14%;
  z-index: -1;
  border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--color1, #189369) 22%, #fff),
    color-mix(in srgb, var(--color5, #1D6E93) 16%, #fff));
}

/* ---- Bubbles: simple outlined soap bubbles, spread across the hero ---- */
.hero-fx,
.hero-bg-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-fx { z-index: 3; }
.hero-bg-fx { z-index: 0; }

.fx-bubble {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  border: 1.5px solid color-mix(in srgb, var(--color1, #189369) 45%, transparent);
  box-sizing: border-box;
}

@media (max-width: 560px) {
  .hero-bg-fx .fx-bubble:nth-child(3n) { display: none; }
}

.hero-photo {
  position: absolute;
  display: block;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
}
.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* soft brand-tinted shade at the bottom, like an ad card */
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, #0f1a17 45%, transparent) 100%);
  pointer-events: none;
}
.hero-tag {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--hero-ink);
  font-size: .9rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(15, 26, 23, .18);
}
.hero-tag::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color1, #189369);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color1, #189369) 20%, transparent);
}
.hero-photo--main .hero-tag { top: 18px; left: 18px; }
.hero-photo--inset .hero-tag { left: 14px; bottom: 14px; }

.hero-photo--main {
  top: 4%;
  left: 4%;
  width: 72%;
  height: 76%;
  box-shadow: 0 24px 60px rgba(15, 26, 23, .20);
}

.hero-photo--inset {
  right: 0;
  bottom: 0;
  width: 42%;
  height: 56%;
  border: 7px solid #fff;
  box-shadow: 0 24px 60px rgba(15, 26, 23, .26);
}

.hero-offer {
  position: absolute;
  left: 0;
  bottom: 14%;
  display: grid;
  gap: 2px;
  max-width: 210px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(15, 26, 23, .16);
  font-size: .88rem;
  line-height: 1.35;
  color: var(--hero-text);
}
.hero-offer strong {
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--color1, #189369);
}

/* ---- Partner logos ---- */
.hero-partners {
  max-width: 1320px;
  width: 100%;
  margin: clamp(32px, 4vw, 48px) auto 0;
  padding: 18px 0 22px;
  border-top: 1px solid var(--hero-line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 22px;
}
.hero-partners img {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
}
.hero-partners a { display: block; }

/* ---- Focus ---- */
.hero a:focus-visible {
  outline: 3px solid var(--color5, #1D6E93);
  outline-offset: 3px;
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
  .hero-inner { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
}

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; justify-items: center; }
  .hero-content { justify-items: center; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-media { justify-self: center; }
  .hero-partners { justify-content: center; }
  .hero-media {
    aspect-ratio: 4 / 3;
    width: 100%;
    max-width: 560px;
    min-height: 0;
    max-height: none;
  }
  .hero-photo--main { top: 0; left: 0; width: 82%; height: 84%; }
  .hero-offer { left: 8px; bottom: 4%; }
}

@media (max-width: 560px) {
  .hero { padding-top: 32px; }
  .hero-btn { flex: 1 1 100%; padding: 16px 20px; }
  .hero-offer { max-width: 170px; padding: 10px 12px; font-size: .8rem; }
  .hero-offer strong { font-size: 1.15rem; }
  .hero-partners { justify-content: center; gap: 10px 14px; }
  .hero-partners img { height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-btn { transition: none; }
}
