/* ===================================================
   NEWSLETTER CSS — includes/newsletter.css
   =================================================== */

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
  background: #fdfaf6;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--amber);
  border-bottom: 3px solid var(--amber);
}

.newsletter-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: linear-gradient(to bottom, var(--amber), var(--amber-light), var(--amber));
}

.newsletter-inner {
  max-width: var(--max-width);
  margin: auto;
  padding: 0 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.newsletter-inner::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(176, 125, 40, .35), transparent);
}

.nl-left h2 {
  font-size: 34px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 14px;
  font-family: var(--font-display);
  line-height: 1.3;
}

.nl-left h2 span {
  color: var(--crimson);
}

.nl-left p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.8;
}

.nl-icon-row {
  display: flex;
  gap: 0;
  margin-top: 22px;
  border: 1.5px solid #e4d3bb;
  border-radius: 10px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 12px rgba(176, 125, 40, .08);
}

.nl-icon-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 14px 10px;
  color: var(--charcoal);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  border-right: 1.5px solid #e4d3bb;
  text-align: center;
}

.nl-icon-item:last-child {
  border-right: none;
}

.nl-icon-item i {
  font-size: 20px;
  color: var(--amber);
}

.nl-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nl-form-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray);
}

.nl-form {
  display: flex;
  gap: 0;
  border: 2px solid #e0cdb0;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0 3px 16px rgba(176, 125, 40, .10);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.nl-form:focus-within {
  border-color: var(--amber);
  box-shadow: 0 4px 20px rgba(176, 125, 40, .20);
}

.nl-form input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  font-size: 16px;
  font-family: var(--font-body);
  outline: none;
  background: transparent;
  color: var(--text);
}

.nl-form input::placeholder {
  color: #b8a898;
}

.nl-form button {
  background: var(--crimson);
  color: white;
  border: none;
  padding: 15px 28px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  transition: background .2s ease;
  white-space: nowrap;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.nl-form button:hover {
  background: var(--crimson-dark);
}

.nl-note {
  font-size: 12.5px;
  color: #a89880;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nl-note i {
  color: var(--amber);
  font-size: 11px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0 32px;
  }

  .newsletter-inner::before {
    display: none;
  }
}

@media (max-width: 852px) {
  .nl-form {
    flex-direction: column;
  }

  .nl-form input {
    border-radius: 6px 6px 0 0;
  }

  .nl-form button {
    border-radius: 0 0 6px 6px;
    padding: 14px;
  }
}

@media (max-width: 768px) {
  .nl-icon-row {
    flex-wrap: wrap;
  }

  .nl-icon-item {
    flex: none;
    width: 50%;
  }

  .nl-icon-item:nth-child(2) {
    border-right: none;
  }

  .nl-icon-item:nth-child(3) {
    border-right: none;
    border-top: 1.5px solid #e4d3bb;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .newsletter-inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

@media (max-width: 480px) {
  .nl-icon-row {
    flex-wrap: wrap;
  }

  .nl-icon-item {
    width: 100%;
    border-right: none;
    border-bottom: 1.5px solid #e4d3bb;
  }

  .nl-icon-item:last-child {
    border-bottom: none;
  }
}