/* ============================================================
   SINGLE COFFEE LOT STYLES
   100% Mirror of InterAmerican Coffee Lot Page
============================================================ */

/* Breadcrumbs Section */
.lot-breadcrumbs {
  background: var(--white);
  border-bottom: 1px solid var(--outline-var);
  padding: 16px 0;
}

.lot-breadcrumbs .breadcrumb {
  margin-bottom: 0;
}

.lot-breadcrumbs .breadcrumb-item a {
  color: var(--on-surface-var);
}

.lot-breadcrumbs .breadcrumb-item.active {
  color: var(--primary);
}

.lot-breadcrumbs .breadcrumb-item::after {
  color: var(--outline-var);
}

/* ============================================================
   1. HERO SPLIT SECTION
============================================================ */
.lot-hero-split {
  background: var(--white);
  padding: 64px 0;
  border-bottom: 1px solid var(--outline-var);
}

.lot-hero-split__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.lot-hero-split__badge {
  margin-bottom: 24px;
}

.lot-hero-split__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.lot-hero-split__origin {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lot-hero-split__pin-icon {
  color: var(--secondary);
}

.lot-hero-split__description {
  color: var(--on-surface-var);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 36px;
}

.lot-hero-split__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Right Column (Image container) */
.lot-hero-split__img-container {
  aspect-ratio: 3/2;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--outline-var);
}

.lot-hero-split__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.lot-hero-split:hover .lot-hero-split__img {
  transform: scale(1.02);
}

@media (max-width: 900px) {
  .lot-hero-split__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============================================================
   2. PROFILE & HERITAGE (Left Profile, Right Cupping Notes)
============================================================ */
.lot-profile {
  background: var(--surface-low);
  padding: var(--section-gap) 0;
  border-bottom: 1px solid var(--outline-var);
}

.lot-profile__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.lot-profile__story {
  color: var(--on-surface-var);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 40px;
}

.lot-profile__story p + p {
  margin-top: 16px;
}

/* Specs 2x2 Grid */
.lot-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.spec-item {
  background: var(--white);
  padding: 20px 24px;
  border: 1px solid var(--outline-var);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}

.spec-item__label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--outline);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.spec-item__val {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

/* Cupping Notes Card */
.cupping-card {
  background: var(--parchment);
  border: 1.5px solid var(--outline-var);
  border-radius: var(--r-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.cupping-card__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.cupping-card__desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--on-surface-var);
  margin-bottom: 32px;
}

.cupping-bars {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.cupping-bar__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.cupping-bar__label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--on-surface);
}

.cupping-bar__score {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.cupping-bar__track {
  height: 8px;
  background: var(--surface-cont);
  border-radius: var(--r-full);
  overflow: hidden;
}

.cupping-bar__fill {
  height: 100%;
  background: var(--primary);
  border-radius: var(--r-full);
  transition: width 0.8s ease-out;
}

/* Flavor profile tags */
.flavor-profile__title {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  border-top: 1px solid var(--outline-var);
  padding-top: 24px;
}

.flavor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.flavor-tag {
  background: var(--white);
  border: 1px solid var(--outline-var);
  color: var(--on-surface-var);
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .lot-profile__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 600px) {
  .cupping-card {
    padding: 24px;
  }
  .lot-specs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================================
   3. LOGISTICS & QC
============================================================ */
.lot-logistics {
  background: var(--white);
  padding: var(--section-gap) 0;
  border-bottom: 1px solid var(--outline-var);
}

.lot-logistics__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.logistics-photo-wrap {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.logistics-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logistics-photo__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(44, 30, 18, 0.85), transparent);
  padding: 24px 32px 16px;
}

.logistics-photo__caption {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Right cards */
.logistics-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.logistics-card {
  display: flex;
  gap: 20px;
  align-items: start;
}

.logistics-card__icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--leaf-tint);
  border-radius: var(--r-md);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logistics-card__icon {
  width: 24px;
  height: 24px;
}

.logistics-card__title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.logistics-card__text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--on-surface-var);
}

.logistics-desc {
  border-top: 1px solid var(--outline-var);
  padding-top: 24px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--on-surface-var);
}

@media (max-width: 900px) {
  .lot-logistics__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============================================================
   4. INQUIRY CTA SECTION
============================================================ */
.lot-inquiry-section {
  background: var(--espresso);
  padding: var(--section-gap) 0;
}

.lot-inquiry-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.lot-inquiry-box__eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-primary-container);
  margin-bottom: 12px;
  display: block;
}

.lot-inquiry-box__title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.lot-inquiry-box__text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 32px;
}

.lot-inquiry-box__contact-direct {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
}

.lot-inquiry-box__contact-direct p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

/* Inquiry Form Wrap */
.lot-inquiry-form-wrap {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.lot-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-input, 
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--parchment);
  border: 1px solid var(--outline-var);
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  color: var(--on-surface);
  outline: none;
  transition: all var(--dur) var(--ease);
}

.form-input:focus, 
.form-textarea:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 73, 34, 0.1);
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .lot-inquiry-box {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .lot-inquiry-form-wrap {
    padding: 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
