/* =========================================
   NEWSLETTER STRIP
========================================= */

.newsletter-strip-section {
  position: relative;
  z-index: 3;

  padding: 0 82px;

  margin-bottom: -68px;
}


/* =========================================
   CARD
========================================= */

.newsletter-strip {
  display: grid;

  grid-template-columns:
    42px
    minmax(300px, 1fr)
    minmax(440px, 610px);

  align-items: center;

  gap: 28px;

  width: 100%;
  max-width: 1362px;

  min-height: 138px;

  margin: 0 auto;

  padding: 24px 38px;

  border:
    1px solid rgba(20, 10, 45, 0.045);

  border-radius: 28px;

  background: #ffffff;

  box-shadow:
    0 20px 45px rgba(38, 22, 70, 0.08),
    0 6px 18px rgba(38, 22, 70, 0.04);
}


/* =========================================
   EMAIL ICON
========================================= */

.newsletter-strip__icon {
  position: relative;

  width: 34px;
  height: 34px;

  background: transparent;

  border: 0;
  border-radius: 0;

  box-shadow: none;
}


/*
   Κανονικός minimal φάκελος,
   χωρίς κύκλο / περίγραμμα γύρω του.
*/

.newsletter-strip__icon::before {
  content: "";

  position: absolute;

  inset: 3px;

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237651f7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}


/* =========================================
   CONTENT
========================================= */

.newsletter-strip__content {
  min-width: 0;
}


.newsletter-strip__eyebrow {
  margin:
    0
    0
    8px;

  color: #7651f7;

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.16em;

  text-transform: uppercase;
}


.newsletter-strip__content h3 {
  margin:
    0
    0
    8px;

  color: #0c0720;

  font-size:
    clamp(22px, 1.8vw, 30px);

  font-weight: 750;

  line-height: 1.08;

  letter-spacing: -0.045em;
}


/*
   Αν βάλεις span γύρω από το "inbox",
   γίνεται purple όπως στην εικόνα:

   <h3>
     Νέα και προσφορές,<br>
     στο <span>inbox</span> σου.
   </h3>
*/

.newsletter-strip__content h3 span {
  color: #7651f7;
}


.newsletter-strip__content p:last-child {
  margin: 0;

  color: #716b80;

  font-size: 13px;
  font-weight: 500;

  line-height: 1.45;
}


/* =========================================
   FORM
========================================= */

.newsletter-strip__form {
  display: flex;

  align-items: center;

  gap: 14px;

  min-width: 0;
}


.newsletter-strip__field {
  flex: 1;

  min-width: 0;
}


/* =========================================
   INPUT
========================================= */

.newsletter-strip__field input {
  width: 100%;
  height: 54px;

  padding:
    0
    24px;

  border:
    1px solid rgba(86, 67, 122, 0.13);

  outline: none;

  border-radius: 999px;

  color: #160c27;

  background: #ffffff;

  font: inherit;

  font-size: 14px;
  font-weight: 500;

  box-shadow:
    inset 0 1px 2px rgba(33, 17, 62, 0.025),
    0 4px 12px rgba(33, 17, 62, 0.025);

  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}


.newsletter-strip__field input::placeholder {
  color: #8c8499;
}


.newsletter-strip__field input:focus {
  border-color:
    rgba(118, 81, 247, 0.45);

  box-shadow:
    0 0 0 4px rgba(118, 81, 247, 0.07);
}


/* =========================================
   BUTTON
========================================= */

.newsletter-strip__button {
  display: inline-flex;

  height: 54px;

  padding:
    0
    29px;

  align-items: center;
  justify-content: center;

  gap: 10px;

  flex: 0 0 auto;

  border: 0;

  border-radius: 999px;

  cursor: pointer;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #7651f7 0%,
      #6b37f3 55%,
      #5c27df 100%
    );

  box-shadow:
    0 8px 20px rgba(103, 55, 225, 0.22);

  font: inherit;

  font-size: 15px;
  font-weight: 700;

  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}


.newsletter-strip__button:hover {
  transform:
    translateY(-2px);

  filter:
    brightness(1.04);

  box-shadow:
    0 12px 26px rgba(103, 55, 225, 0.30);
}


.newsletter-strip__button:active {
  transform:
    translateY(0);
}


/* =========================================
   SMALL DESKTOP
========================================= */

@media (min-width: 1051px) and (max-width: 1350px) {

  .newsletter-strip-section {
    padding:
      0
      clamp(32px, 5vw, 70px);
  }


  .newsletter-strip {
    grid-template-columns:
      36px
      minmax(280px, 1fr)
      minmax(390px, 520px);

    gap: 22px;

    min-height: 134px;

    padding:
      22px
      30px;
  }


  .newsletter-strip__content h3 {
    font-size:
      clamp(22px, 2.1vw, 27px);
  }

}


/* =========================================
   TABLET
========================================= */

@media (min-width: 701px) and (max-width: 1050px) {

  .newsletter-strip-section {
    padding:
      0
      32px;

    margin-bottom: -60px;
  }


  .newsletter-strip {
    grid-template-columns:
      34px
      minmax(230px, 0.9fr)
      minmax(330px, 1.1fr);

    gap: 8px;

    min-height: 132px;

    padding:
      22px
      24px;

    border-radius: 24px;
  }


  .newsletter-strip__icon {
    width: 30px;
    height: 30px;
  }


  .newsletter-strip__eyebrow {
    margin-bottom: 6px;

    font-size: 10px;
  }


  .newsletter-strip__content h3 {
    margin-bottom: 7px;

    font-size: 19px;
  }


  .newsletter-strip__content p:last-child {
    font-size: 11px;
  }


  .newsletter-strip__field input,
  .newsletter-strip__button {
    height: 50px;
  }


  .newsletter-strip__button {
    padding:
      0
      22px;

    font-size: 14px;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

  .newsletter-strip-section {
    padding:
      0
      20px;

    margin-bottom: -52px;
  }


  .newsletter-strip {
    display: grid;

    grid-template-columns:
      30px
      minmax(0, 1fr);

    gap:
      12px
      14px;

    min-height: 0;

    padding:
      24px
      22px;

    border-radius: 24px;
  }


  .newsletter-strip__icon {
    grid-column: 1;
    grid-row: 1;

    width: 28px;
    height: 28px;

    align-self: start;

    margin-top: 2px;
  }


  .newsletter-strip__content {
    grid-column: 2;
    grid-row: 1;
  }


  .newsletter-strip__eyebrow {
    margin-bottom: 6px;

    font-size: 10px;
  }


  .newsletter-strip__content h3 {
    margin-bottom: 7px;

    font-size:
      clamp(21px, 6.5vw, 26px);
  }


  .newsletter-strip__content p:last-child {
    font-size: 12px;

    line-height: 1.5;
  }


  /* form κάτω σε full width */

  .newsletter-strip__form {
    grid-column:
      1 / -1;

    grid-row: 2;

    width: 100%;

    margin-top: 8px;

    gap: 10px;
  }


  .newsletter-strip__field input {
    height: 50px;

    padding:
      0
      18px;
  }


  .newsletter-strip__button {
    height: 50px;

    padding:
      0
      21px;

    font-size: 14px;
  }

}


/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (max-width: 430px) {

  .newsletter-strip-section {
    padding:
      0
      16px;
  }


  .newsletter-strip {
    padding:
      22px
      18px;
  }


  .newsletter-strip__form {
    flex-direction: column;

    align-items: stretch;
  }


  .newsletter-strip__button {
    width: 100%;
  }

}