/* ============================================
   Pomata di Nonna Uccia — Landing Page
   Dolomiti BioHemp
   ============================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-dark:    #1d3d06;
  --green-mid:     #427B19;
  --green-light:   #bae1a0;
  --green-pale:    #F4FFED;
  --cream:         #FFF6E4;
  --beige:         #E9DDC5;
  --brown-light:   #af9b89;
  --brown-dark:    #705f50;
  --white:         #ffffff;

  --font-title:    'Playfair Display', Georgia, serif;
  --font-body:     'Open Sans', system-ui, sans-serif;

  --radius:        12px;
  --radius-lg:     20px;
  --shadow-sm:     0 2px 8px rgba(29,61,6,0.08);
  --shadow-md:     0 6px 24px rgba(29,61,6,0.12);
  --transition:    0.25s ease;

  --max-width:     1160px;
  --section-pad:   96px 24px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--green-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.section {
  padding: var(--section-pad);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 12px;
}

.eyebrow-light {
  color: var(--green-light);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--green-dark);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--brown-dark);
  line-height: 1.7;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-dark);
  color: var(--cream);
  border-color: var(--green-dark);
}

.btn-primary:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}

.btn-secondary:hover {
  background: var(--green-dark);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-nav {
  background: var(--green-dark);
  color: var(--cream);
  border-color: var(--green-dark);
  font-size: 0.9rem;
  padding: 10px 24px;
}

.btn-nav:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
}

.btn-cta {
  background: var(--cream);
  color: var(--green-dark);
  border-color: var(--cream);
  font-size: 1.15rem;
  padding: 18px 48px;
}

.btn-cta:hover {
  background: var(--white);
  border-color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-light);
  border-bottom: 1px solid rgba(29,61,6,0.15);
  padding: 0 24px;
  /* needed for mobile dropdown positioning */
  isolation: isolate;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

/* Nav menu */
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav-menu li a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-dark);
  transition: var(--transition);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.nav-menu li a:hover {
  color: var(--green-mid);
  border-bottom-color: var(--green-mid);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  order: 3;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--cream) 0%, var(--green-pale) 100%);
  padding: 80px 24px 64px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-text .eyebrow {
  margin-bottom: 16px;
}

.hero-text h1 {
  font-family: var(--font-title);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--green-dark);
  margin-bottom: 24px;
}

.hero-text h1 em {
  font-style: italic;
  color: var(--green-mid);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--brown-dark);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--white);
  border: 1px solid var(--green-light);
  padding: 6px 14px;
  border-radius: 50px;
}

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

.product-placeholder {
  position: relative;
  width: 380px;
  height: 420px;
  background: linear-gradient(145deg, var(--beige), var(--brown-light));
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.product-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.product-placeholder.no-image .placeholder-label {
  display: flex;
}

.placeholder-label {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  position: absolute;
  inset: 0;
  justify-content: center;
  padding: 32px;
}

.placeholder-label span {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.3;
}

.placeholder-label small {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--green-mid);
}

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--green-dark);
  padding: 20px 24px;
}

.trust-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 24px;
}

.trust-icon {
  font-size: 1.1rem;
}

.trust-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.2);
}

/* ---- BENEFICI ---- */
.benefici {
  background: var(--cream);
}

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

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid var(--beige);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-light);
}

.card-icon-wrap {
  width: 72px;
  height: 72px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.card-icon {
  font-size: 2rem;
}

.card h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
  color: var(--brown-dark);
  line-height: 1.7;
}

/* ---- INGREDIENTI ---- */
.ingredienti {
  background: var(--green-pale);
}

.ing-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 780px;
  margin: 0 auto;
}

.ing-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: flex-start;
}

.ing-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
}

.ing-emoji {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 12px;
}

.ing-line {
  width: 2px;
  flex: 1;
  min-height: 80px;
  background: linear-gradient(to bottom, var(--green-light), transparent);
  margin: 0 auto;
}

.ing-line-last {
  background: transparent;
}

.ing-content {
  padding-bottom: 40px;
}

.ing-content h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.ing-content p {
  font-size: 0.95rem;
  color: var(--brown-dark);
  line-height: 1.7;
  margin-bottom: 12px;
}

.ing-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-style: italic;
  color: var(--green-mid);
  background: var(--white);
  border: 1px solid var(--green-light);
  padding: 4px 12px;
  border-radius: 50px;
}

.inci-full {
  text-align: center;
  font-size: 0.8rem;
  color: var(--brown-dark);
  margin-top: 32px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--beige);
}

/* ---- USO ---- */
.uso {
  background: var(--beige);
}

.uso .section-header h2 {
  color: var(--green-dark);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.step-num {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 700;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: 16px;
}

.step-content h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--brown-dark);
  line-height: 1.65;
}

.step-arrow {
  font-size: 1.8rem;
  color: var(--green-light);
  padding-top: 60px;
  flex-shrink: 0;
}

/* ---- BRAND STORY ---- */
.brand-story {
  background: var(--cream);
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}

.story-visual {
  position: relative;
  text-align: center;
}

.story-visual img {
  max-width: 260px;
  margin: 0 auto 24px;
}

.story-badge {
  position: absolute;
  top: -16px;
  right: -16px;
  background: var(--green-dark);
  color: var(--cream);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
}

.story-badge-num {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.story-badge-text {
  font-size: 0.65rem;
  line-height: 1.3;
  opacity: 0.85;
}

.story-text h2 {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--green-dark);
  margin-bottom: 20px;
}

.story-text p {
  font-size: 1rem;
  color: var(--brown-dark);
  line-height: 1.75;
  margin-bottom: 16px;
}

.story-pillars {
  display: flex;
  gap: 24px;
  margin: 28px 0 36px;
  flex-wrap: wrap;
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 120px;
}

.pillar strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-dark);
}

.pillar span {
  font-size: 0.8rem;
  color: var(--brown-dark);
}

/* ---- RECENSIONI ---- */
.recensioni {
  background: var(--green-pale);
}

.trustpilot-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.tp-stars {
  color: #00b67a;
  font-size: 1.4rem;
  letter-spacing: 2px;
}

.tp-text {
  font-size: 0.9rem;
  color: var(--brown-dark);
}

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

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--beige);
  transition: var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.review-stars {
  color: #f4a623;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--brown-dark);
  line-height: 1.7;
  margin-bottom: 16px;
}

.review-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-mid);
}

/* ---- CTA FINALE ---- */
.cta-finale {
  background: linear-gradient(135deg, var(--green-dark) 0%, #2a5510 100%);
  text-align: center;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-inner p {
  font-size: 1.05rem;
  color: var(--green-light);
  margin-bottom: 36px;
  line-height: 1.65;
}

.price-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 32px;
}

.price {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
}

.price-note {
  font-size: 0.85rem;
  color: var(--green-light);
  opacity: 0.8;
}

.cta-guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: center;
  margin-top: 28px;
}

.cta-guarantees span {
  font-size: 0.85rem;
  color: var(--green-light);
  font-weight: 600;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--green-light);
  color: var(--green-dark);
  padding: 56px 24px 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  height: 48px;
  width: auto;
  opacity: 0.9;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--green-mid);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--green-dark);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--green-mid);
}

.footer-disclaimer {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid rgba(29,61,6,0.2);
  padding-top: 24px;
  text-align: center;
}

.footer-disclaimer p {
  font-size: 0.78rem;
  color: var(--green-mid);
  line-height: 1.6;
  margin-bottom: 6px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  :root {
    --section-pad: 64px 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--green-light);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(29,61,6,0.15);
    box-shadow: var(--shadow-md);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(29,61,6,0.08);
    font-size: 1rem;
  }

  .nav-menu li:last-child a {
    border-bottom: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-text {
    align-items: center;
  }

  .hero-sub {
    margin: 0 auto 36px;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .product-placeholder {
    width: 280px;
    height: 320px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .story-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .story-pillars {
    justify-content: center;
  }

  .story-badge {
    position: static;
    margin: 0 auto;
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }

  .step-arrow {
    transform: rotate(90deg);
    padding-top: 0;
  }

  .trust-inner {
    gap: 8px;
  }

  .trust-divider {
    display: none;
  }

  .trust-item {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 600px) {
  :root {
    --section-pad: 48px 16px;
  }

  .nav-inner {
    height: 60px;
  }

  .nav-logo img {
    height: 38px;
  }

  .hero {
    padding: 60px 16px 48px;
    min-height: auto;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }

  .product-placeholder {
    width: 240px;
    height: 280px;
  }

  .ing-item {
    grid-template-columns: 56px 1fr;
    gap: 16px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }

  .trust-bar {
    display: none;
  }
}
