/* -----------------------------------------------------------------
   7. Shared Section Patterns
   ----------------------------------------------------------------- */

/* Newsletter callout */
.callout .callout__content h2 {
  color: var(--lexx-text) !important;
}

.section-callout--revamp {
  position: relative;
  overflow: hidden;
  background: url(../../images/texture.png) center / cover no-repeat, color-mix(in srgb, var(--lexx-light-gray) 70%, transparent);
  background-size: contain;
  background-position-x: -200px;
  background-position-y: -75px;
  padding: 60px 0;
}

.revamp-deco {
  position: absolute;
  left: 0;
  top: -40px;
  width: min(42%, 520px);
  height: auto;
  opacity: .4;
  pointer-events: none;
}

.section-callout--revamp .shell {
  max-width: var(--lexx-container);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 999;
}

.callout--revamp {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.revamp-eyebrow {
  background: linear-gradient(90deg, #b6ff3a 0%, #8bdfff 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 6px;
  font-size: 14px;
}

.revamp-title {
  font-size: clamp(36px, 5vw, 48px);
  line-height: 1.25;
  max-width: 680px;
  font-weight: 800;
}

#subscribe-heading {
  margin-bottom: 40px;
}

.revamp-subcopy {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(16px, 2vw, 20px);
  margin: .5rem 0 0;
}

.section-callout--revamp .gform_heading,
.section-callout--revamp .gform_title,
.section-callout--revamp .gform_description {
  display: none;
}

.section-callout--revamp .gform_wrapper form {
  display: block;
}

.section-callout--revamp .gform_wrapper .gfield {
  position: relative;
}

.section-callout--revamp .gform_wrapper .gfield_label {
  position: absolute;
  top: .1rem;
  left: .2rem;
  z-index: 2;
  margin: 0 !important;
  pointer-events: none;
  font-family: var(--lexx-font-primary) !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  color: var(--lexx-text) !important;
  line-height: 1.2;
  opacity: .8;
  transition: opacity .2s ease;
}

.section-callout--revamp .gform_wrapper .gfield_label .gfield_required {
  font-family: var(--lexx-font-primary) !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  color: var(--lexx-text) !important;
  line-height: 1.2;
  font-style: normal !important;
}

.section-callout--revamp .gform_wrapper .gfield:focus-within .gfield_label {
  opacity: 0;
}

.section-callout--revamp .gform_wrapper input[type="text"],
.section-callout--revamp .gform_wrapper input[type="email"],
.section-callout--revamp .gform_wrapper input[type="search"] {
  width: 100%;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--lexx-text);
  padding: .9rem .2rem;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  border-image: linear-gradient(90deg, var(--lexx-accent-orange), var(--lexx-light-orange)) 1;
}

.section-callout--revamp .gform_wrapper input[type="text"]::placeholder,
.section-callout--revamp .gform_wrapper input[type="email"]::placeholder,
.section-callout--revamp .gform_wrapper input[type="search"]::placeholder {
  font-family: var(--lexx-font-primary) !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  color: transparent !important;
}

.section-callout--revamp .gform_wrapper input[type="text"]:focus,
.section-callout--revamp .gform_wrapper input[type="email"]:focus {
  border-image: var(--lexx-btn-gradient) 1;
  border-bottom: 2px solid transparent;
}

.section-callout--revamp .gform_wrapper .field_description_below p {
  font-family: var(--lexx-font-primary) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--lexx-text) !important;
}

/* Newsletter CTA — high specificity so Gravity Forms / theme defaults don’t shrink it */
#pts-wrapper .section-callout--revamp .gform_wrapper .gform_footer input[type="submit"],
#pts-wrapper .section-callout--revamp .gform_wrapper .gform_footer input[type="button"],
#pts-wrapper .section-callout--revamp .gform_wrapper .gform_footer .gform_button,
.section-callout--revamp .gform_wrapper .gform_footer input[type="submit"],
.section-callout--revamp .gform_wrapper .gform_footer input[type="button"],
.section-callout--revamp .gform_wrapper .gform_footer .gform_button {
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lexx-white) !important;
  background: var(--lexx-btn-gradient) !important;
  background-size: 200% 100% !important;
  background-position: left center;
  border: none !important;
  border-radius: var(--lexx-radius-btn) !important;
  transition: background-position 0.5s ease-in-out;
  padding: 1.125rem 2.75rem !important;
  min-height: 56px;
  min-width: min(100%, 260px);
  width: auto;
  max-width: 100%;
  font-family: var(--lexx-font-primary) !important;
  font-size: clamp(18px, 1.35vw, 22px) !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  margin-top: 30px;
  text-transform: capitalize;
  box-shadow: none !important;
}

#pts-wrapper .section-callout--revamp .gform_wrapper .gform_footer input[type="submit"]:hover,
#pts-wrapper .section-callout--revamp .gform_wrapper .gform_footer input[type="button"]:hover,
#pts-wrapper .section-callout--revamp .gform_wrapper .gform_footer .gform_button:hover,
.section-callout--revamp .gform_wrapper .gform_footer input[type="submit"]:hover,
.section-callout--revamp .gform_wrapper .gform_footer input[type="button"]:hover,
.section-callout--revamp .gform_wrapper .gform_footer .gform_button:hover {
  background-position: right center !important;
  color: var(--lexx-white) !important;
}

.section-callout--revamp .gform_wrapper .gfield_description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.5;
}

/* Shared hero intro pattern */
.intro-alt--secondary {
  background: linear-gradient(180deg, var(--lexx-light-gray) 0%, var(--lexx-white) 100%);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: clamp(300px, 40vh, 500px);
  display: grid;
  align-items: center;
}

.intro-alt--secondary__floating-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.intro-alt--secondary .shell {
  position: relative;
  z-index: 2;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.intro-alt--secondary__content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.intro-alt--secondary h1,
.intro-alt--secondary h2 {
  font-family: var(--lexx-font-primary);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--lexx-text);
  margin: 0 0 12px;
  line-height: 1.25;
  text-transform: none;
}

.intro-alt--secondary p,
.intro-alt--secondary .intro-content {
  font-family: var(--lexx-font-primary);
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--lexx-text);
  margin: 0 0 1rem;
  line-height: 1.5;
  opacity: 0.85;
}

.intro-alt--secondary .intro-content p {
  color: var(--lexx-text);
}

.intro-alt {
  position: relative;
  background: color-mix(in srgb, var(--lexx-light-gray) 70%, transparent);
}

.intro-alt::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('../../images/texture.png') left top / contain no-repeat;
  opacity: 0.7;
}

.intro-alt > * {
  position: relative;
  z-index: 1;
}

.intro-alt p {
  color: var(--lexx-text);
}

/* Eyebrow label */
.eyebrow-label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--lexx-accent-orange);
  margin-bottom: 16px;
  display: inline-block;
}

/* Gradient text helper */
.gradient-text {
  color: var(--lexx-accent-blue);
}

/* Shared buttons */
.btn,
.hero-btn--outline,
.btn-pill,
.btn-pill--yellow,
.btn-pill--gradient,
.btn--gradient {
  background: var(--lexx-btn-gradient);
  border-color: transparent;
  color: var(--lexx-white) !important;
  display: inline-block;
  padding: 16px 32px;
  font-family: var(--lexx-font-primary);
  font-weight: 500;
  font-size: 18px;
  text-decoration: none;
  border-radius: var(--lexx-radius-btn);
  border: none;
  cursor: pointer;
  transition: background-position 0.4s ease-in-out !important;
  text-align: center;
  line-height: 1.5;
  background-size: 200% 100%;
  text-transform: capitalize;
  background-position: left center;
}

.btn:hover,
.hero-btn--outline:hover,
.btn-pill:hover,
.btn-pill--yellow:hover,
.btn-pill--gradient:hover,
.btn--gradient:hover {
  color: var(--lexx-white);
  background-position: right center !important;
}

.hero-btn--underline {
  border-color: transparent;
  color: var(--lexx-text);
  font-family: var(--lexx-font-primary);
  font-weight: 500;
  font-size: 18px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  line-height: 1.5;
  text-transform: capitalize;
}

.hero-btn--underline:hover {
  color: var(--lexx-accent-blue);
}

.hero-btn--underline:hover::after {
  width: calc(100% - 12px);
}

#pts-wrapper #main--interior.cta_button:after,
.btn-pill--gradient:after {
  background-color: unset;
}

