
/* Agrinco Theme Styles v3 - Complete Rebuild */
/* Matches React mockup exactly */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@400;500;600;700&display=swap');

/* ---- Reset Astra defaults ---- */
body {
  font-family: 'Barlow', sans-serif !important;
  background-color: #F5F2EB !important;
  color: #4A4A4A !important;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

/* Hide default Astra page titles */
.entry-title,
.page-title,
.ast-archive-description {
  display: none !important;
}

/* Force full width */
.ast-container,
.site-content .ast-container {
  max-width: 100% !important;
  padding: 0 !important;
}

.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post {
  padding: 0 !important;
  background: transparent !important;
}

.ast-separate-container .entry-content {
  padding: 0 !important;
}

.ast-separate-container .ast-article-single {
  margin: 0 !important;
}

/* Remove Astra sidebar */
.ast-right-sidebar .site-content .ast-container {
  display: block !important;
}

#secondary {
  display: none !important;
}

/* ---- Container ---- */
.agrinco-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .agrinco-container {
    padding: 0 16px;
  }
}

/* ---- HERO SECTION ---- */
.agrinco-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .agrinco-hero {
    min-height: 80vh;
  }
}

.agrinco-hero-bg {
  position: absolute;
  inset: 0;
}

.agrinco-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agrinco-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(27,67,50,0.90), rgba(27,67,50,0.70), transparent);
}

.agrinco-hero-content {
  position: relative;
  z-index: 10;
  max-width: 640px;
}

.agrinco-badge {
  display: inline-block;
  background: #D4A017;
  padding: 4px 16px;
  margin-bottom: 16px;
}

.agrinco-badge span {
  color: #1B4332;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Barlow', sans-serif !important;
}

.agrinco-hero h1 {
  font-size: 3rem;
  color: white;
  line-height: 0.95;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .agrinco-hero h1 {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .agrinco-hero h1 {
    font-size: 5rem;
  }
}

.agrinco-hero-text {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .agrinco-hero-text {
    font-size: 1.25rem;
  }
}

/* ---- BUTTONS ---- */
.agrinco-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.2s;
  font-family: 'Barlow', sans-serif !important;
  border: none;
  cursor: pointer;
}

.agrinco-btn-gold {
  background: #D4A017;
  color: #1B4332;
}

.agrinco-btn-gold:hover {
  background: #B8860B;
  color: #1B4332;
  text-decoration: none;
}

.agrinco-btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.agrinco-btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  color: white;
  text-decoration: none;
}

.agrinco-btn-outline-green {
  background: transparent;
  color: #1B4332;
  border: 2px solid #1B4332;
}

.agrinco-btn-outline-green:hover {
  background: #1B4332;
  color: white;
  text-decoration: none;
}

.agrinco-btn-green {
  background: #1B4332;
  color: white;
}

.agrinco-btn-green:hover {
  background: #143728;
  color: white;
  text-decoration: none;
}

.agrinco-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---- TRUST BAR ---- */
.agrinco-trust-bar {
  background: #1B4332;
  border-top: 4px solid #D4A017;
  padding: 24px 0;
}

.agrinco-trust-bar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .agrinco-trust-bar-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
}

.agrinco-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: white;
}

@media (min-width: 768px) {
  .agrinco-trust-item:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,0.2);
  }
}

.agrinco-trust-icon {
  width: 32px;
  height: 32px;
  color: #D4A017;
  flex-shrink: 0;
}

.agrinco-trust-item strong {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  font-family: 'Barlow', sans-serif !important;
}

.agrinco-trust-item small {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
}

/* ---- SECTION HEADINGS ---- */
.agrinco-section {
  padding: 64px 0;
}

@media (min-width: 768px) {
  .agrinco-section {
    padding: 96px 0;
  }
}

.agrinco-section-heading {
  margin-bottom: 48px;
}

.agrinco-section-heading h2 {
  font-size: 2rem;
  color: #1B4332;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .agrinco-section-heading h2 {
    font-size: 3rem;
  }
}

.agrinco-gold-bar {
  width: 80px;
  height: 4px;
  background: #D4A017;
}

.agrinco-gold-bar-center {
  width: 80px;
  height: 4px;
  background: #D4A017;
  margin: 0 auto;
}

/* ---- PRODUCT CARDS (HOME) ---- */
.agrinco-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .agrinco-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .agrinco-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.agrinco-product-card {
  background: white;
  border-left: 4px solid #1B4332;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.2s;
}

.agrinco-product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-left-color: #D4A017;
}

.agrinco-product-card h3 {
  font-size: 1.25rem;
  color: #1B4332;
  margin-bottom: 8px;
  text-transform: none;
  font-family: 'Barlow Condensed', sans-serif !important;
}

.agrinco-product-card p {
  color: #4A4A4A;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.agrinco-product-card a,
.agrinco-learn-more {
  color: #1B4332;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.agrinco-product-card a:hover,
.agrinco-learn-more:hover {
  color: #D4A017;
}

/* ---- FULL WIDTH IMAGE BAND ---- */
.agrinco-image-band {
  position: relative;
  height: 256px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .agrinco-image-band {
    height: 320px;
  }
}

.agrinco-image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agrinco-image-band-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,67,50,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.agrinco-image-band-overlay .text-center h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .agrinco-image-band-overlay .text-center h2 {
    font-size: 3rem;
  }
}

.agrinco-image-band-overlay .text-center p {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
}

/* ---- ABOUT / WHY CHOOSE SECTION (HOME) ---- */
.agrinco-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .agrinco-about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.agrinco-about-text h2 {
  font-size: 2rem;
  color: #1B4332;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .agrinco-about-text h2 {
    font-size: 3rem;
  }
}

.agrinco-about-text p {
  color: #4A4A4A;
  line-height: 1.7;
  margin-bottom: 16px;
}

.agrinco-about-image {
  position: relative;
}

.agrinco-about-image img {
  width: 100%;
  height: auto;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.agrinco-about-image .agrinco-badge-overlay {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: #D4A017;
  padding: 12px 24px;
}

.agrinco-about-image .agrinco-badge-overlay p {
  color: #1B4332;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  margin: 0;
  font-family: 'Barlow', sans-serif !important;
}

/* ---- SERVICES SECTION (HOME - dark green) ---- */
.agrinco-services-dark {
  background: #1B4332;
  padding: 64px 0;
}

@media (min-width: 768px) {
  .agrinco-services-dark {
    padding: 96px 0;
  }
}

.agrinco-services-dark h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .agrinco-services-dark h2 {
    font-size: 3rem;
  }
}

.agrinco-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .agrinco-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.agrinco-service-card-dark {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 32px;
  transition: border-color 0.2s;
}

.agrinco-service-card-dark:hover {
  border-color: #D4A017;
}

.agrinco-service-card-dark h3 {
  font-size: 1.25rem;
  color: #D4A017;
  margin-bottom: 12px;
  text-transform: none;
  font-family: 'Barlow Condensed', sans-serif !important;
}

.agrinco-service-card-dark p {
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

/* ---- CTA BAND ---- */
.agrinco-cta-band {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.agrinco-cta-band-bg {
  position: absolute;
  inset: 0;
}

.agrinco-cta-band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agrinco-cta-band-bg .overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,67,50,0.7);
}

.agrinco-cta-band-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.agrinco-cta-band-content h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .agrinco-cta-band-content h2 {
    font-size: 3rem;
  }
}

.agrinco-cta-band-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- PAGE HERO (inner pages) ---- */
.agrinco-page-hero {
  position: relative;
  height: 192px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .agrinco-page-hero {
    height: 256px;
  }
}

.agrinco-page-hero-bg {
  position: absolute;
  inset: 0;
}

.agrinco-page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agrinco-page-hero-bg .overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,67,50,0.75);
}

.agrinco-page-hero-content {
  position: relative;
  z-index: 10;
}

.agrinco-page-hero h1 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .agrinco-page-hero h1 {
    font-size: 3.75rem;
  }
}

.agrinco-page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.125rem;
}

/* Solid green hero (contact) */
.agrinco-page-hero-solid {
  background: #1B4332;
  padding: 48px 0;
}

@media (min-width: 768px) {
  .agrinco-page-hero-solid {
    padding: 64px 0;
  }
}

.agrinco-page-hero-solid h1 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .agrinco-page-hero-solid h1 {
    font-size: 3.75rem;
  }
}

.agrinco-page-hero-solid p {
  color: rgba(255,255,255,0.7);
  font-size: 1.125rem;
}

/* ---- ABOUT PAGE: Our Story ---- */
.agrinco-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .agrinco-story-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.agrinco-story-text h2 {
  font-size: 2rem;
  color: #1B4332;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .agrinco-story-text h2 {
    font-size: 3rem;
  }
}

.agrinco-story-text p {
  color: #4A4A4A;
  line-height: 1.7;
  margin-bottom: 16px;
}

.agrinco-story-image {
  position: relative;
}

.agrinco-story-image img {
  width: 100%;
  height: auto;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.agrinco-story-image .agrinco-est-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: #D4A017;
  padding: 12px 24px;
}

.agrinco-story-image .agrinco-est-badge p {
  color: #1B4332;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  margin: 0;
  font-family: 'Barlow', sans-serif !important;
}

/* ---- STATS BAND ---- */
.agrinco-stats-band {
  background: #1B4332;
  padding: 48px 0;
}

.agrinco-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: center;
}

@media (min-width: 768px) {
  .agrinco-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.agrinco-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #D4A017;
  font-family: 'Barlow Condensed', sans-serif !important;
}

@media (min-width: 768px) {
  .agrinco-stat-value {
    font-size: 2.5rem;
  }
}

.agrinco-stat-label {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- VALUES GRID (About) ---- */
.agrinco-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .agrinco-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .agrinco-values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.agrinco-value-card {
  background: white;
  padding: 32px;
  border-top: 4px solid #1B4332;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.agrinco-value-card .icon {
  color: #D4A017;
  margin-bottom: 16px;
  font-size: 2.5rem;
}

.agrinco-value-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1B4332;
  margin-bottom: 8px;
  text-transform: none;
  font-family: 'Barlow', sans-serif !important;
}

.agrinco-value-card p {
  color: #4A4A4A;
  font-size: 14px;
  line-height: 1.6;
}

/* ---- INDUSTRIES (About - dark green) ---- */
.agrinco-industries-dark {
  background: #1B4332;
  padding: 64px 0;
}

@media (min-width: 768px) {
  .agrinco-industries-dark {
    padding: 96px 0;
  }
}

.agrinco-industries-dark h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .agrinco-industries-dark h2 {
    font-size: 3rem;
  }
}

.agrinco-industries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .agrinco-industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.agrinco-industry-card {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 32px;
  transition: border-color 0.2s;
}

.agrinco-industry-card:hover {
  border-color: #D4A017;
}

.agrinco-industry-card h3 {
  font-size: 1.25rem;
  color: #D4A017;
  margin-bottom: 12px;
  text-transform: none;
  font-family: 'Barlow Condensed', sans-serif !important;
}

.agrinco-industry-card p {
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

/* ---- SERVICES PAGE: Service items ---- */
.agrinco-service-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  padding-top: 48px;
}

.agrinco-service-item:first-child {
  padding-top: 0;
}

.agrinco-service-item:not(:first-child) {
  border-top: 1px solid rgba(27,67,50,0.1);
}

@media (min-width: 1024px) {
  .agrinco-service-item {
    grid-template-columns: 2fr 3fr;
  }
}

.agrinco-service-icon-title {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.agrinco-service-icon-box {
  background: #1B4332;
  padding: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agrinco-service-icon-box svg {
  width: 24px;
  height: 24px;
  color: #D4A017;
}

.agrinco-service-icon-title h3 {
  font-size: 1.5rem;
  color: #1B4332;
  margin-bottom: 8px;
  text-transform: none;
  font-family: 'Barlow Condensed', sans-serif !important;
}

.agrinco-service-icon-title p {
  color: #4A4A4A;
  line-height: 1.7;
}

.agrinco-service-features {
  background: white;
  padding: 24px;
  border-left: 4px solid #D4A017;
}

.agrinco-service-features .label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1B4332;
  margin-bottom: 12px;
}

.agrinco-service-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.agrinco-service-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #4A4A4A;
  margin-bottom: 8px;
}

.agrinco-service-features li::before {
  content: "\203A";
  color: #D4A017;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: -1px;
}

/* ---- HOW IT WORKS (Services) ---- */
.agrinco-process-dark {
  background: #1B4332;
  padding: 64px 0;
}

@media (min-width: 768px) {
  .agrinco-process-dark {
    padding: 96px 0;
  }
}

.agrinco-process-dark h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 12px;
  text-align: center;
}

@media (min-width: 768px) {
  .agrinco-process-dark h2 {
    font-size: 3rem;
  }
}

.agrinco-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .agrinco-process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.agrinco-process-step {
  text-align: center;
}

.agrinco-process-step .step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #D4A017;
  font-family: 'Barlow Condensed', sans-serif !important;
  margin-bottom: 12px;
}

.agrinco-process-step h4 {
  color: white;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  font-family: 'Barlow', sans-serif !important;
}

.agrinco-process-step p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

/* ---- CTA SECTION (Services bottom) ---- */
.agrinco-cta-section {
  padding: 64px 0;
  text-align: center;
}

@media (min-width: 768px) {
  .agrinco-cta-section {
    padding: 80px 0;
  }
}

.agrinco-cta-section h2 {
  font-size: 2rem;
  color: #1B4332;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .agrinco-cta-section h2 {
    font-size: 2.5rem;
  }
}

.agrinco-cta-section p {
  color: #4A4A4A;
  font-size: 1.125rem;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- CONTACT PAGE ---- */
.agrinco-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .agrinco-contact-grid {
    grid-template-columns: 1fr 2fr;
  }
}

.agrinco-contact-details h2 {
  font-size: 1.5rem;
  color: #1B4332;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .agrinco-contact-details h2 {
    font-size: 2rem;
  }
}

.agrinco-contact-details > p {
  color: #4A4A4A;
  line-height: 1.7;
  margin-bottom: 24px;
}

.agrinco-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.agrinco-contact-icon {
  background: #1B4332;
  padding: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agrinco-contact-icon svg {
  width: 20px;
  height: 20px;
  color: #D4A017;
}

.agrinco-contact-item h3 {
  font-weight: 700;
  color: #1B4332;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  font-family: 'Barlow', sans-serif !important;
}

.agrinco-contact-item p {
  color: #4A4A4A;
  margin: 0;
  font-size: 14px;
}

.agrinco-contact-item small {
  color: #4A4A4A;
  font-size: 13px;
}

/* Contact Form */
.agrinco-contact-form-wrap {
  background: white;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border-top: 4px solid #1B4332;
}

@media (min-width: 768px) {
  .agrinco-contact-form-wrap {
    padding: 40px;
  }
}

.agrinco-contact-form-wrap h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1B4332;
  margin-bottom: 24px;
  text-transform: none;
  font-family: 'Barlow', sans-serif !important;
}

.agrinco-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .agrinco-form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.agrinco-form-group {
  margin-bottom: 24px;
}

.agrinco-form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1B4332;
  margin-bottom: 8px;
  font-family: 'Barlow', sans-serif !important;
}

.agrinco-form-group input,
.agrinco-form-group select,
.agrinco-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(27,67,50,0.2);
  background: #F5F2EB;
  font-size: 14px;
  font-family: 'Barlow', sans-serif !important;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.agrinco-form-group input:focus,
.agrinco-form-group select:focus,
.agrinco-form-group textarea:focus {
  border-color: #1B4332;
}

.agrinco-form-group textarea {
  resize: none;
  min-height: 120px;
}

/* Map placeholder */
.agrinco-map-placeholder {
  background: rgba(27,67,50,0.05);
  padding: 48px 0;
}

.agrinco-map-box {
  background: rgba(27,67,50,0.1);
  height: 256px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(27,67,50,0.2);
}

@media (min-width: 768px) {
  .agrinco-map-box {
    height: 320px;
  }
}

.agrinco-map-box p {
  color: rgba(27,67,50,0.5);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
}

.agrinco-map-box small {
  color: rgba(27,67,50,0.3);
  font-size: 12px;
  display: block;
  margin-top: 4px;
}

/* Quick contact bar */
.agrinco-quick-contact {
  background: #1B4332;
  padding: 32px 0;
}

.agrinco-quick-contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (min-width: 768px) {
  .agrinco-quick-contact-inner {
    flex-direction: row;
  }
}

.agrinco-quick-contact p {
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
}

.agrinco-quick-contact a.agrinco-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---- PRODUCTS PAGE ---- */
.agrinco-products-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .agrinco-products-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .agrinco-products-page-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.agrinco-product-page-card {
  background: white;
  border-left: 4px solid #1B4332;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

.agrinco-product-page-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-left-color: #D4A017;
}

.agrinco-product-page-card .card-body {
  padding: 16px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.agrinco-product-page-card .category-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #D4A017;
  margin-bottom: 4px;
}

.agrinco-product-page-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1B4332;
  margin-bottom: 4px;
  text-transform: none;
  font-family: 'Barlow', sans-serif !important;
}

.agrinco-product-page-card .tagline {
  font-style: italic;
  color: #4A4A4A;
  font-size: 12px;
  margin-bottom: 8px;
}

.agrinco-product-page-card .description {
  color: #4A4A4A;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.agrinco-product-page-card .specs-mini {
  margin-bottom: 12px;
}

.agrinco-product-page-card .specs-mini .spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding-bottom: 4px;
  border-bottom: 1px dashed rgba(27,67,50,0.1);
  margin-bottom: 4px;
}

.agrinco-product-page-card .specs-mini .spec-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.agrinco-product-page-card .specs-mini .spec-label {
  color: #4A4A4A;
}

.agrinco-product-page-card .specs-mini .spec-value {
  font-weight: 600;
  color: #1B4332;
}

/* CTA dark band */
.agrinco-cta-dark {
  background: #1B4332;
  padding: 40px 0;
  text-align: center;
}

@media (min-width: 768px) {
  .agrinco-cta-dark {
    padding: 48px 0;
  }
}

.agrinco-cta-dark h2 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .agrinco-cta-dark h2 {
    font-size: 2.5rem;
  }
}

.agrinco-cta-dark p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}

/* ---- SVG Icons inline ---- */
.agrinco-svg-icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  vertical-align: middle;
}

.agrinco-svg-icon-sm {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.agrinco-svg-icon-gold {
  color: #D4A017;
  fill: none;
  stroke: #D4A017;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- UTILITY ---- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }
.mt-10 { margin-top: 40px; }



/* ---- FIX: Header gap ---- */
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-page {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

.ast-separate-container #primary {
  padding: 0 !important;
  margin: 0 !important;
}

.ast-separate-container .site-content > .ast-container {
  max-width: 100% !important;
  padding: 0 !important;
}

/* Remove Astra page title */
.ast-archive-description,
.entry-header {
  display: none !important;
}

/* Remove Astra default footer */
.site-footer,
.ast-footer-overlay,
footer.site-footer {
  display: none !important;
}

/* Remove any spacing between header and content */
.site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

#content.site-content {
  padding-top: 0 !important;
}

.entry-content {
  margin: 0 !important;
  padding: 0 !important;
}

/* Make content full width */
.ast-page-builder-template .site-content > .ast-container,
.ast-plain-container .site-content > .ast-container {
  max-width: 100% !important;
  padding: 0 !important;
}

/* Astra container overrides */
.ast-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.site-main > article {
  padding: 0 !important;
  margin: 0 !important;
}

/* ---- CUSTOM FOOTER ---- */
.agrinco-footer {
  background: #1B4332;
  border-top: 4px solid #D4A017;
  padding: 48px 0 0;
  font-family: 'Barlow', sans-serif !important;
}

.agrinco-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .agrinco-footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.agrinco-footer-col p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.agrinco-footer-logo {
  height: 64px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.agrinco-footer-col h4 {
  color: #D4A017;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  font-family: 'Barlow', sans-serif !important;
}

.agrinco-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.agrinco-footer-col li {
  margin-bottom: 8px;
}

.agrinco-footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.agrinco-footer-col a:hover {
  color: white;
}

.agrinco-footer-col span {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.agrinco-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

@media (min-width: 768px) {
  .agrinco-footer-bottom {
    flex-direction: row;
  }
}

.agrinco-footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  margin: 0;
}

/* ---- FIX: Astra header styling ---- */
.main-header-bar {
  background: #1B4332 !important;
  border-bottom: none !important;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3) !important;
}

.ast-site-identity .site-title a,
.ast-site-identity .site-title {
  color: white !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

/* Nav link styling */
.main-header-menu .menu-item > a,
.main-header-menu .menu-item > .ast-menu-toggle {
  color: rgba(255,255,255,0.9) !important;
  font-family: 'Barlow', sans-serif !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.main-header-menu .menu-item > a:hover,
.main-header-menu .current-menu-item > a {
  color: #D4A017 !important;
}

/* Remove any bottom margin/padding on main content */
#primary,
.site-main {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}


/* ---- FIX: Gap between header and hero ---- */
#primary {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.ast-separate-container #primary {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.ast-separate-container .ast-article-single {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Remove the 25px gap from entry-content */
.entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Ensure the ast-container has no top padding */
#content > .ast-container {
  padding-top: 0 !important;
}

/* Fix for Astra separate container layout */
.ast-separate-container .site-main > .ast-row {
  margin-top: 0 !important;
}

/* Remove page title area spacing */
.ast-page-builder-template .entry-header,
.page .entry-header {
  margin: 0 !important;
  padding: 0 !important;
}


/* ---- FIX: Hide empty p tags created by wpautop ---- */
.entry-content > p:empty,
.entry-content > p:has(> br:only-child) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

/* Also target p tags that only contain whitespace */
.entry-content > p:first-child {
  margin-top: 0 !important;
}


/* ---- Products Page Specific Styles ---- */
.agrinco-products-listing {
  background-color: #F5F2EB !important;
  padding: 48px 0 64px !important;
}

/* Products page hero - use correct height */
.page-id-25 .agrinco-page-hero {
  height: 256px !important;
  min-height: 256px !important;
}

/* Products page showing count text */
.products-showing-count {
  font-size: 14px;
  color: #4A4A4A;
  margin-bottom: 24px;
}
.products-showing-count strong {
  color: #1B4332;
  font-weight: 700;
}

/* Product card hover - gold border on hover */
.agrinco-product-page-card:hover {
  border-left-color: #D4A017 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
  transform: translateY(-2px);
}
.agrinco-product-page-card {
  transition: all 0.2s ease !important;
}
