/* =========================================================
   BERRY M GROUP — shared styles v2 (logo-matched)
   Logo colours:
     Navy    #1C2461  — primary dark / text
     Magenta #8B1560  — berry accent (B in logo)
     Green   #3D6B35  — leaf accent (tagline + leaves)
   Supporting:
     Cream   #F7F4EF  — warm off-white backgrounds
     Warm-white #FDFBF8
     Mid     #6B6878  — body text mid-tone
     Border  rgba(28,36,97,0.10)
   Type: Libre Baskerville (display) + Inter (body)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #1C2461;
  --magenta: #8B1560;
  --green:   #3D6B35;
  --cream:   #F7F4EF;
  --warm-white: #FDFBF8;
  --charcoal: #1E1E2E;
  --mid:     #6B6878;
  --border:  rgba(28,36,97,0.10);
  --border-light: rgba(28,36,97,0.06);
}

html { scroll-behavior: smooth; }

body {
  background: var(--warm-white);
  color: var(--charcoal);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 72px;
  background: rgba(253,251,248,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo img {
  height: 120px;
  width: auto;
  display: block;
}

.nav-logo-text {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.nav-logo-sub {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.nav-links a:hover { opacity: 1; }

.nav-lang {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.nav-lang a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 3px;
  opacity: 0.45;
  transition: opacity 0.2s, background 0.2s, color 0.2s;
  border: 1px solid transparent;
}

.nav-lang a.active,
.nav-lang a:hover {
  opacity: 1;
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 72px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 5vw 6rem 8vw;
  background: var(--navy);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-top:5rem;
  margin-bottom: 1.8rem;
}

.hero-headline {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.6rem;
}

.hero-headline em {
  font-style: italic;
  color: #D47AAD;
}

.hero-sub {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.58);
  max-width: 370px;
  line-height: 1.8;
  margin-bottom: 2.8rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.stat-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 0.35rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--magenta);
  color: #fff;
  padding: 0.9rem 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  width: fit-content;
}

.btn-primary:hover { background: #A0196E; transform: translateY(-1px); }

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: rgba(255,255,255,0.75);
  padding: 0.9rem 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
  width: fit-content;
}

.btn-outline-light:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--navy);
  padding: 0.9rem 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid var(--navy);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  width: fit-content;
}

.btn-outline:hover { background: var(--navy); color: #fff; }

.hero-img {
  position: relative;
  overflow: hidden;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 1.4rem 8vw;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--navy);
  text-transform: uppercase;
}

.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--magenta);
  flex-shrink: 0;
}

/* ── SECTION COMMON ── */
section { padding: 6rem 8vw; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--green);
}

.section-title {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1.2rem;
}

.section-body {
  font-size: 0.98rem;
  color: var(--mid);
  max-width: 560px;
  line-height: 1.85;
}

/* ── ABOUT ── */
.about {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.about-img-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.about-img-grid img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16/7;
}

/* ── PRODUCTS ── */
.products { background: var(--warm-white); }

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  gap: 2rem;
}

.products-note {
  font-size: 0.85rem;
  color: var(--mid);
  max-width: 260px;
  text-align: right;
  line-height: 1.6;
  padding-bottom: 0.25rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.product-card {
  background: var(--warm-white);
  overflow: hidden;
  cursor: default;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.product-card:hover img { transform: scale(1.05); }

.product-info {
  padding: 1rem 1.15rem 1.25rem;
}

.product-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.product-variants {
  font-size: 0.73rem;
  color: var(--mid);
  letter-spacing: 0.04em;
}

/* ── FACILITY ── */
.facility {
  background: var(--navy);
  color: #fff;
}

.facility .section-title { color: #fff; }
.facility .section-body  { color: rgba(255,255,255,0.58); max-width: 600px; }
.facility .section-eyebrow { color: #6DB35D; }
.facility .section-eyebrow::before { background: #6DB35D; }

.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 3rem;
}

.facility-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.facility-grid img:first-child {
  grid-column: 1 / 3;
  height: 330px;
}

.facility-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.spec-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.6rem;
  font-weight: 400;
  color: #D47AAD;
  line-height: 1;
}

.spec-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 0.4rem;
}

/* ── PROCESS ── */
.process { background: var(--cream); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3.5rem;
  border: 1px solid var(--border);
}

.process-step {
  padding: 2.5rem 1.8rem;
  border-right: 1px solid var(--border);
  position: relative;
}

.process-step:last-child { border-right: none; }

.step-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1.2rem;
  color: rgba(28,36,97,0.08);
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--magenta);
  margin-bottom: 1.2rem;
}

.step-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.65rem;
}

.step-desc {
  font-size: 0.86rem;
  color: var(--mid);
  line-height: 1.75;
}

/* ── CONTACT ── */
.contact {
  background: var(--navy);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact .section-title { color: #fff; }
.contact .section-body  { color: rgba(255,255,255,0.55); }
.contact .section-eyebrow { color: #6DB35D; }
.contact .section-eyebrow::before { background: #6DB35D; }

.contact-details { margin-top: 2.5rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
}

.contact-icon {
  width: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.4;
}

.contact-item a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item a:hover { color: #fff; }

.contact-form { padding-top: 0.5rem; }

.form-group { margin-bottom: 1.1rem; }

.form-group label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  padding: 0.85rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }

.form-group input:focus,
.form-group textarea:focus { border-color: rgba(255,255,255,0.35); }

.form-group textarea { min-height: 110px; resize: vertical; }

/* ── FOOTER ── */
footer {
  background: #10152E;
  padding: 2.2rem 8vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-logo img {
  height: 130px;
  width: auto;
  opacity: 0.55;
  filter: grayscale(0.3);
}

.footer-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
}

.footer-copy {
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.2);
}

/* ── MOBILE ── */
@media (max-width: 900px) {
  .hero          { grid-template-columns: 1fr; min-height: auto; }
  .hero-img      { height: 55vw; }
  .hero-text     { padding: 4rem 6vw; }
  .about, .contact { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step  { border-bottom: 1px solid var(--border); }
  .facility-grid { grid-template-columns: 1fr 1fr; }
  .facility-grid img:first-child { grid-column: 1 / -1; }
  .facility-specs { grid-template-columns: 1fr 1fr; }
  .nav-links     { display: none; }
  footer         { flex-direction: column; text-align: center; }
  section        { padding: 4rem 6vw; }
  .products-header { flex-direction: column; align-items: flex-start; }
  .products-note { text-align: left; max-width: 100%; }
  .trust-bar     { gap: 1.5rem; }
}

@media (max-width: 540px) {
  .process-steps  { grid-template-columns: 1fr; }
  .products-grid  { grid-template-columns: 1fr 1fr; }
  .facility-grid  { grid-template-columns: 1fr; }
  .facility-grid img:first-child { height: 220px; }
  .hero-stats     { gap: 1.5rem; }
  .hero-cta       { flex-direction: column; }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
