:root {
  --bg: #f6f7f3;
  --text: #111827;
  --muted: #6b7280;

  --card: #ffffff;
  --border: #e5e7eb;

  --accent: #1f7a3e;
  --accent2: #14532d;

  --shadow: 0 12px 30px rgba(17, 24, 39, .10);
  --radius: 14px;
  --max: 1100px;

  --font: system-ui, -apple-system, Segoe UI, Roboto, Arial;

  --hero-image: url("/web/media/hero.jpg");
  --vh: 1vh;
}

/* ================= RESET ================= */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* ================= BUTTONS ================= */
.btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  background: #f3f4f6;
}

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

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn.primary:hover {
  background: var(--accent2);
}

/* ================= HERO ================= */
.hero {
  width: 100%;
  margin: 0;
  padding: 0;
}

.heroFrame {
  width: 100%;
  position: relative;

  height: calc(var(--vh) * 100);
  height: 100svh;
  height: 100dvh;

  min-height: 420px;

  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .22), rgba(0, 0, 0, .62)),
    var(--hero-image) center/cover no-repeat;
}

/* Overlay */
.heroOverlay {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  pointer-events: none;
}

/* Hero text */
.heroText {
  max-width: 560px;
  background: rgba(0, 0, 0, .42);
  color: #fff;
  padding: 18px;
  border-radius: 16px;
  pointer-events: auto;
}

.heroText h1 {
  margin: 0 0 8px;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.4px;
}

.heroText p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.6;
  opacity: .92;
}

.heroActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.heroText .btn {
  background: rgba(255, 255, 255, .96);
  border-color: transparent;
  color: var(--text);
}

.heroText .btn.primary {
  background: var(--accent);
  color: #fff;
}

/* ================= SCROLL HINT ================= */
.scrollHint {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  color: var(--muted);
  z-index: 5;
  min-height: 44px;
}

/* ================= SECTIONS ================= */
.section {
  width: 100%;
  padding: 64px 0;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

.sectionHeader h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.sectionHeader p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

/* Cards */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}

/* ================= INQUIRY ================= */
.formCard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

.formGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 16px;
}

textarea {
  min-height: 140px;
}

.formRow textarea {
  resize: none;
  overflow-y: auto;
}

.formActions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* ================= FOOTER ================= */
footer {
  padding: 18px 16px 34px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

/* ================= TEA LIST ================= */

.teaList {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 32px;
}

.teaRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.teaRow.reverse .teaText {
  order: 2;
}

.teaRow.reverse .teaImage {
  order: 1;
}

.teaText h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.teaText p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.teaImage img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

/* Responsive */
@media (max-width:900px) {
  .teaRow {
    grid-template-columns: 1fr;
  }

  .teaRow.reverse .teaText,
  .teaRow.reverse .teaImage {
    order: unset;
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width:900px) {
  .grid3 {
    grid-template-columns: 1fr;
  }

  .heroText h1 {
    font-size: 32px;
  }
}

/* PHONES */
@media (max-width:520px) {
  .heroOverlay {
    padding: 14px;
    align-items: flex-end;
  }

  .heroText {
    width: 100%;
    max-width: 100%;
    padding: 14px;
    border-radius: 14px;
  }

  .heroText h1 {
    font-size: 28px;
  }

  .heroText p {
    font-size: 14px;
  }

  .heroActions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .heroActions .btn {
    width: 100%;
    min-height: 48px;
    font-size: 14px;
  }

  /* 🔥 IMPORTANT FIX: hide scroll hint on phones */
  .scrollHint {
    display: none;
  }

  .container {
    padding: 0 12px;
  }

  .formGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:360px) {
  .heroText h1 {
    font-size: 24px;
  }

  .heroText p {
    font-size: 13.5px;
  }
}


/* POPUP */

.popup {
  position: fixed;

  top: 14px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);

  padding: 12px 16px;
  border-radius: 12px;

  color: white;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);

  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
  z-index: 9999;
  font-size: 14px;
}

.popup.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.popup.success {
  background: #16a34a;
}

.popup.error {
  background: #dc2626;
}