/* ============================================================
   G.T. Cebotari Feodor Mihail — pepinieră pomicolă
   ============================================================ */

:root {
  --green-950: #10241a;
  --green-900: #1b3a2b;
  --green-800: #234a36;
  --green-100: #e4efe6;
  --sage: #8ed4ae;
  --sage-soft: #cfe9da;
  --terracotta: #c1662f;
  --terracotta-dark: #a4501f;
  --cream: #f4e9dd;
  --cream-soft: #faf5ee;
  --ink: #1b2420;
  --white: #ffffff;

  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 14px;
  --shadow-md: 0 12px 30px -12px rgba(16, 36, 26, 0.25);
  --shadow-lg: 0 24px 60px -20px rgba(16, 36, 26, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--green-900);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

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

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.9em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--terracotta-dark); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.65);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

.btn-outline {
  background: transparent;
  border-color: var(--green-900);
  color: var(--green-900);
}
.btn-outline:hover { background: var(--green-900); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(27,58,43,0.08);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--green-900);
}
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand span small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terracotta); margin-top: 2px; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--green-900);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--terracotta);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .btn { padding: 10px 20px; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--green-900);
  position: relative; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; width: 22px; }
.nav-toggle span::after { position: absolute; top: 7px; width: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("/images/hero.jpg");
  background-size: cover;
  background-position: center 65%;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,36,26,0.55) 0%, rgba(16,36,26,0.72) 55%, rgba(16,36,26,0.88) 100%);
}
.hero .inner { position: relative; z-index: 2; padding: 140px 24px 90px; max-width: 760px; }
.hero .eyebrow { color: var(--sage); }
.hero h1 { color: var(--white); }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,0.88); max-width: 560px; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,0.75); font-size: 0.75rem;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.hero-scroll .line { width: 1px; height: 34px; background: rgba(255,255,255,0.5); animation: scrollpulse 2s infinite; }
@keyframes scrollpulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---------- Stats strip ---------- */
.stats {
  background: var(--green-900);
  color: var(--white);
}
.stats .inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 46px 24px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 2.1rem;
  color: var(--sage);
  margin-bottom: 4px;
}
.stat span { font-size: 0.82rem; color: rgba(255,255,255,0.78); letter-spacing: 0.02em; }

/* ---------- Section spacing ---------- */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: #4b5a51; font-size: 1.05rem; }

/* ---------- About ---------- */
.about { background: var(--cream-soft); }
.about .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about figure img { width: 100%; height: 460px; object-fit: cover; }
.about figure figcaption {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(16,36,26,0.85); color: var(--white);
  padding: 10px 16px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
}
.about-copy p { color: #3c4a41; }
.about-list { list-style: none; margin: 1.6em 0 0; padding: 0; display: grid; gap: 14px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--green-900); font-weight: 600; }
.about-list li .dot {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sage-soft); color: var(--green-900);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; margin-top: 2px;
}

/* ---------- Services ---------- */
.services { background: var(--green-950); color: var(--white); }
.services .section-head p { color: rgba(255,255,255,0.72); }
.services .eyebrow { color: var(--sage); }
.services h2 { color: var(--white); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .media { height: 210px; overflow: hidden; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .media img { transform: scale(1.06); }
.card .media.icon {
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
  display: flex; align-items: center; justify-content: center;
}
.card .media.icon svg { width: 64px; height: 64px; stroke: var(--white); }
.card .body { padding: 26px 24px 30px; }
.card .body p { color: #4b5a51; font-size: 0.94rem; margin-bottom: 0; }
.card .body h3 { margin-bottom: 0.4em; }

/* ---------- Orchard strip / gallery band ---------- */
.band {
  height: 320px;
  background-image: url("/images/apples.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}
.band::after { content: ""; position: absolute; inset: 0; background: rgba(16,36,26,0.28); }

/* ---------- Contact ---------- */
.contact { background: var(--cream-soft); }
.contact .grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 40px;
}
.info-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(27,58,43,0.1);
}
.info-row:last-child { border-bottom: none; padding-bottom: 0; }
.info-row:first-child { padding-top: 0; }
.info-row .icon {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  background: var(--sage-soft); color: var(--green-900);
  display: flex; align-items: center; justify-content: center;
}
.info-row .icon svg { width: 20px; height: 20px; }
.info-row h4 { margin: 0 0 4px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--terracotta); font-weight: 700; }
.info-row p, .info-row a { margin: 0; font-size: 0.98rem; color: var(--green-900); font-weight: 600; }
.info-row a:hover { color: var(--terracotta); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 420px;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--terracotta), var(--terracotta-dark));
  color: var(--white);
  text-align: center;
  padding: 70px 24px;
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.3em; }
.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 1.8em; }
.cta-banner .btn-primary { background: var(--white); color: var(--terracotta-dark); }
.cta-banner .btn-primary:hover { background: var(--cream); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: rgba(255,255,255,0.75); }
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 70px 0 50px;
}
.footer-brand { display: flex; align-items: flex-start; gap: 14px; }
.footer-brand img { width: 52px; height: 52px; object-fit: contain; }
.footer-brand h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 6px; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.62); max-width: 260px; }
.site-footer h4 { color: var(--white); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.1em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { font-size: 0.92rem; color: rgba(255,255,255,0.72); }
.site-footer a:hover { color: var(--sage); }
.social-row { display: flex; gap: 10px; margin-top: 6px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { background: var(--terracotta); }
.social-row svg { width: 17px; height: 17px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--sage); }

/* ---------- Bank page ---------- */
.bank-hero {
  background: var(--green-900);
  color: var(--white);
  padding: 150px 0 70px;
  text-align: center;
}
.bank-hero h1 { color: var(--white); }
.bank-hero .eyebrow { color: var(--sage); }
.bank-table {
  max-width: 720px; margin: -40px auto 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px 8px;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
}
.bank-row {
  display: grid; grid-template-columns: 104px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(27,58,43,0.08);
}
.bank-row.span-2 { grid-column: 1 / -1; }
.bank-row:last-child { border-bottom: none; }
.bank-row dt { font-weight: 700; color: var(--terracotta); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.03em; margin: 0; }
.bank-row dd { margin: 0; font-weight: 600; color: var(--green-900); font-size: 0.9rem; word-break: break-word; }
.bank-note { max-width: 720px; margin: 26px auto 0; text-align: center; color: #5a6a61; font-size: 0.9rem; }

@media (max-width: 640px) {
  .bank-table { grid-template-columns: 1fr; padding: 4px 4px; }
  .bank-row, .bank-row.span-2 { grid-column: 1 / -1; grid-template-columns: 92px 1fr; padding: 10px 12px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about .grid, .contact .grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .stats .inner { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .bank-row { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 760px) {
  .main-nav, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  section { padding: 64px 0; }
  .hero .inner { padding: 120px 20px 70px; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; padding: 56px 0 40px; }
  .info-card { padding: 28px; }
}

body.nav-open .main-nav {
  display: flex;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--white);
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px 24px 24px;
  box-shadow: var(--shadow-md);
}
body.nav-open .main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(27,58,43,0.08); }
