/* =========================================================
   Global FarmLink – Base
   ========================================================= */

.gfl-home {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* padding general pentru secțiunile SP Page Builder */
.sppb-section {
  padding-top: 70px !important;
  padding-bottom: 70px !important;
}

/* =========================================================
   HERO (Home)
   ========================================================= */

.gfl-hero {
  background: #0B3B2A;
  color: #FFFFFF;
  padding: 120px 0;
}

.gfl-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
}

.gfl-hero-title {
  font-size: 2.25rem;
  font-weight: 700;
}

.gfl-hero-text {
  font-size: 1rem;
  max-width: 40rem;
  opacity: 0.92;
}

/* Card dreapta în hero */

.gfl-hero-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0.75rem;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* HERO stats */

.gfl-hero-stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.8;
}

.gfl-hero-stat {
  font-weight: 600;
}

/* Iconul cu pătrățele din cardul HERO */

.gfl-leaf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  width: 48px;
  height: 48px;
  margin: 0 auto;
  transform: scale(1.35);
  transform-origin: center;
}

.gfl-grid-cell,
.gfl-grid-leaf {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
}

.gfl-grid-leaf {
  background: #F5F7E9;
}

/* =========================================================
   Buttons (global)
   ========================================================= */

.gfl-btn-primary {
  background: #F4B000;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  border: none;
  color: #1C1C1C;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.gfl-btn-primary:hover,
.gfl-btn-primary:focus {
  background: #E8A200;
  color: #1C1C1C;
}

.gfl-btn-ghost {
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
  font-weight: 500;
  font-size: 0.95rem;
  background: transparent;
  text-decoration: none;
}

.gfl-btn-ghost:hover,
.gfl-btn-ghost:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.gfl-btn-outline {
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  border: 1px solid #0B3B2A;
  color: #0B3B2A;
  font-weight: 500;
  font-size: 0.95rem;
  background: transparent;
  text-decoration: none;
}

.gfl-btn-outline:hover,
.gfl-btn-outline:focus {
  background: #0B3B2A;
  color: #FFFFFF;
}

/* =========================================================
   Sections – generic styling
   ========================================================= */

.gfl-section {
  background: #FFFFFF;
  padding: 80px 0;
}

.gfl-section:nth-of-type(odd) {
  background: #F7F7F5;
}

.gfl-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #0B3B2A;
}

.gfl-section-intro {
  max-width: 40rem;
  opacity: 0.9;
  color: #1C1C1C;
}

/* =========================================================
   Generic Cards (folosite în mai multe secțiuni)
   ========================================================= */

.gfl-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 28px;
  border: 1px solid #E1E3DF;
  transition: box-shadow 0.2s ease;
}

.gfl-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.gfl-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #0B3B2A;
}

.gfl-card-text {
  font-size: 0.95rem;
  opacity: 0.9;
  color: #1C1C1C;
}

/* =========================================================
   ABOUT – Sections & Panels
   ========================================================= */

.gfl-about {
  background: #F7F7F5 !important;
  padding: 70px 0 !important;
}

.gfl-about-expertise,
.gfl-about-benefits {
  background: #F7F7F5 !important;
}

/* Panel pe fundal închis (About) */

.gfl-about-panel {
  background: #0B3B2A;
  color: #FFFFFF;
  border-radius: 0.75rem;
  padding: 1.75rem;
}

.gfl-small-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.9;
}

/* Checklist în About */

.gfl-checklist {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.gfl-checklist li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.gfl-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #F4B000;
}

/* About hero headings pe fundal închis */

.gfl-about-hero h1,
.gfl-about-hero h2 {
  color: #FFFFFF;
}

/* Subtitlu About */

.gfl-about-subtitle {
  font-size: 1.2rem;
  opacity: 0.85;
  max-width: 42rem;
  line-height: 1.5;
}

/* About page – section headings */

.gfl-about h2,
.gfl-about-expertise h2,
.gfl-about-benefits h2 {
  color: #0B3B2A !important;
}

/* BENEFITS – cards în About */

.gfl-about-benefits .gfl-card {
  background: #FFFFFF;
  border: 1px solid #DADDD9;
  border-radius: 12px;
}

.gfl-about-benefits .gfl-card:hover {
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

/* ABOUT – Commitment section */

.gfl-about-commit {
  background: #0B3B2A !important;
  color: #FFFFFF !important;
  padding: 100px 0;
}

.gfl-about-commit h2,
.gfl-about-commit p {
  color: #FFFFFF !important;
  opacity: 0.92;
  max-width: 48rem;
}

/* =========================================================
   PRODUCT CARD – stil comun (Home + Products)
   ========================================================= */

.gfl-product-card {
  border-top: 3px solid #0B3B2A;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #E1E3DF;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

/* Titlu produs */
.gfl-product-title {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0B3B2A;
}

/* Meta produs (origini, tip, etc.) */
.gfl-product-meta {
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #7A7F77;
  margin-bottom: 12px;
}

/* Text de descriere scurtă */
.gfl-product-desc {
  font-size: 0.95rem;
  color: #1C1C1C;
  margin-bottom: 16px;
}

/* Subtitlu bloc (Specifications, Processing etc.) */
.gfl-product-subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0B3B2A;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
}

/* Liste de detalii (Processing, Docs, Logistics etc.) */
.gfl-product-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0.6rem;
}

.gfl-product-list li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.gfl-product-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #F4B000;
}

/* CTA product button */

.gfl-product-cta {
  margin-top: 20px;
}

/* Icon produs */
.gfl-product-icon {
  margin-bottom: 12px;
}

/* Detalii produs aliniate la stânga sub header centrat */

.gfl-product-details {
  text-align: left;
  margin-top: 25px;
}

/* =========================================================
   HOME – Featured Products (row class: gfl-home-featured-row)
   ========================================================= */

@media (min-width: 992px) {
  .gfl-home-featured-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
  }

  .gfl-home-featured-row > .sppb-column,
  .gfl-home-featured-row > [class*="sppb-col-"] {
    flex: 0 0 25%;
    max-width: 25%;
    display: flex;
  }

  .gfl-home-featured-row .gfl-product-card {
    flex: 1 1 auto;
  }
}

/* Buton "View all products" centrat dacă e în ultima coloană */

.gfl-home-featured-row .sppb-column:last-child .sppb-btn {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   PRODUCTS PAGE – 2x2 GRID
   Row class: gfl-products-row (un singur row cu 4 coloane)
   ========================================================= */

@media (min-width: 992px) {

  .gfl-products-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
  }

  .gfl-products-row > .sppb-column,
  .gfl-products-row > [class*="sppb-col-"] {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
    display: flex !important;
  }

  .gfl-products-row .gfl-product-card {
    flex: 1 1 auto !important;
  }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */

.gfl-testimonials {
  background: #0F1C17;
  color: #FFFFFF;
  padding: 90px 0;
}

.gfl-testimonials .gfl-section-title {
  color: #FFFFFF;
}

.gfl-testimonials .gfl-section-intro {
  color: rgba(255, 255, 255, 0.85);
}

.gfl-testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.gfl-testimonial-text {
  font-size: 0.98rem;
  margin-bottom: 0.75rem;
}

.gfl-testimonial-author {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.8;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

.gfl-contact {
  background: #F7F7F5;
  padding: 90px 0;
}

.gfl-contact-list {
  list-style: none;
  padding-left: 0;
  font-size: 0.95rem;
}

.gfl-contact-list li {
  margin-bottom: 0.25rem;
}

.gfl-contact-form .form-label {
  font-size: 0.9rem;
  font-weight: 500;
}

.gfl-contact-info p {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.gfl-contact-info a {
  color: #0B3B2A;
  font-weight: 600;
}

.gfl-contact-form input,
.gfl-contact-form textarea,
.gfl-contact-form select {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #D0D5D1;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.gfl-contact-form button,
.gfl-contact-form input[type=submit] {
  background: #0B3B2A;
  color: #FFFFFF;
  border-radius: 999px;
  padding: 10px 26px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.gfl-contact-form button:hover,
.gfl-contact-form input[type=submit]:hover {
  background: #0D4A34;
}

/* Contact options – micșorare text în carduri */

.gfl-contact-options .gfl-card-title {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  line-height: 1.2;
  margin-bottom: 8px !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity: 0.85;
}

.gfl-contact-options .gfl-card p {
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  margin: 0 !important;
}

.gfl-contact-options .gfl-card h1,
.gfl-contact-options .gfl-card h2,
.gfl-contact-options .gfl-card h3,
.gfl-contact-options .gfl-card h4,
.gfl-contact-options .gfl-card h5,
.gfl-contact-options .gfl-card h6,
.gfl-contact-options .gfl-card strong,
.gfl-contact-options .gfl-card b {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  margin-bottom: 0 !important;
  line-height: 1.35 !important;
}

.gfl-contact-options .sppb-column {
  padding-bottom: 20px;
}

/* Subtitlu contact (How we can help …) */

.gfl-contact-options .gfl-section-subtitle {
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  opacity: 0.85 !important;
  max-width: 48rem;
  margin-bottom: 1.5rem;
}

/* =========================================================
   Responsive tweaks
   ========================================================= */

@media (max-width: 767.98px) {
  .gfl-hero-title {
    font-size: 1.8rem;
  }
}