/**
 * Seaplast Theme — Inner Page Design System
 * Shared page-hero banner, content sections, and card patterns
 * used across Products, Industries, Solutions, About, Resources, Contact.
 */

/* -------------------------------------------------------------
 * PAGE HERO BANNER (compact hero for inner pages)
 * ------------------------------------------------------------- */
.sp-inner-hero {
  position: relative;
  background: linear-gradient(180deg, #030D1B 0%, #071B33 100%);
  padding: 64px 24px 56px;
  text-align: center;
  overflow: hidden;
}

.sp-inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(0, 168, 198, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(255, 107, 0, 0.12) 0%, transparent 40%);
  pointer-events: none;
}

.sp-inner-hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.sp-inner-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 168, 198, 0.12);
  border: 1px solid rgba(0, 168, 198, 0.35);
  color: #00D2FF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 9999px;
  margin-bottom: 20px;
}

.sp-inner-hero-title {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  color: #FFFFFF;
  margin: 0 0 16px;
}

.sp-inner-hero-title .sp-text-teal {
  color: var(--sp-brand-teal);
}

.sp-inner-hero-desc {
  font-size: 17px;
  line-height: 1.7;
  color: #CBD5E1;
  margin: 0;
}

@media (max-width: 782px) {
  .sp-inner-hero {
    padding: 48px 20px 40px;
  }
  .sp-inner-hero-title {
    font-size: 32px;
  }
  .sp-inner-hero-desc {
    font-size: 15px;
  }
}

/* -------------------------------------------------------------
 * GENERIC CONTENT SECTION WRAPPER
 * ------------------------------------------------------------- */
.sp-content-section {
  padding: 72px 24px;
}

.sp-content-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.sp-content-section.sp-alt-bg {
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
}

.sp-section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sp-brand-teal);
  margin-bottom: 12px;
}

.sp-section-heading {
  font-size: 32px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
  line-height: 1.2;
}

.sp-section-sub {
  font-size: 16px;
  color: #475569;
  line-height: 1.7;
  max-width: 680px;
}

.sp-section-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

@media (max-width: 782px) {
  .sp-content-section {
    padding: 48px 20px;
  }
  .sp-section-heading {
    font-size: 26px;
  }
}

/* -------------------------------------------------------------
 * PRODUCT SPEC CARDS (Products page detail grid)
 * ------------------------------------------------------------- */
.sp-spec-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(15, 43, 72, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.sp-spec-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 168, 198, 0.12);
}

.sp-spec-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #F8FAFC;
  border-radius: 14px;
  margin-bottom: 20px;
}

.sp-spec-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 12px;
}

.sp-spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: #475569;
}

.sp-spec-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #E2E8F0;
}

.sp-spec-list li:last-child {
  border-bottom: none;
}

.sp-spec-list li strong {
  color: #0F2B48;
  font-weight: 700;
}

/* -------------------------------------------------------------
 * ICON FEATURE CARDS (Solutions / About pages)
 * ------------------------------------------------------------- */
.sp-feature-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 32px 28px;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 168, 198, 0.1);
}

.sp-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 168, 198, 0.12), rgba(0, 168, 198, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sp-brand-teal);
  margin-bottom: 20px;
}

.sp-feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 10px;
}

.sp-feature-card p {
  font-size: 14px;
  color: #64748B;
  line-height: 1.7;
  margin: 0;
}

/* -------------------------------------------------------------
 * TIMELINE (About page journey)
 * ------------------------------------------------------------- */
.sp-timeline-item {
  position: relative;
  padding-left: 32px;
  padding-bottom: 40px;
  border-left: 2px solid #E2E8F0;
}

.sp-timeline-item:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.sp-timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sp-brand-teal);
  box-shadow: 0 0 0 4px rgba(0, 168, 198, 0.15);
}

.sp-timeline-year {
  font-size: 13px;
  font-weight: 800;
  color: var(--sp-brand-teal);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.sp-timeline-item h4 {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 8px;
}

.sp-timeline-item p {
  font-size: 14px;
  color: #64748B;
  line-height: 1.7;
  margin: 0;
}

/* -------------------------------------------------------------
 * RESOURCE / DOWNLOAD CARDS
 * ------------------------------------------------------------- */
.sp-resource-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 24px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  height: 100%;
}

.sp-resource-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 168, 198, 0.4);
  box-shadow: 0 16px 32px rgba(0, 168, 198, 0.1);
}

.sp-resource-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 107, 0, 0.1);
  color: #FF6B00;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-resource-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px;
}

.sp-resource-card p {
  font-size: 13px;
  color: #64748B;
  margin: 0;
}

/* -------------------------------------------------------------
 * CONTACT PAGE INFO CARDS
 * ------------------------------------------------------------- */
.sp-contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid #E2E8F0;
}

.sp-contact-info-card:last-child {
  border-bottom: none;
}

.sp-contact-info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 168, 198, 0.1);
  color: var(--sp-brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-contact-info-card h4 {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px;
}

.sp-contact-info-card p, .sp-contact-info-card a {
  font-size: 14px;
  color: #475569;
  margin: 0;
  text-decoration: none;
}

.sp-contact-info-card a:hover {
  color: var(--sp-brand-teal);
}

/* Jetpack contact form styling to match brand */
.sp-content-section .wp-block-jetpack-contact-form,
.sp-content-section .contact-form {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(15, 43, 72, 0.04);
}

.sp-content-section .grunion-field-label,
.sp-content-section .contact-form label {
  font-weight: 700;
  color: #0F172A;
  font-size: 14px;
}

.sp-content-section .grunion-field,
.sp-content-section input[type="text"],
.sp-content-section input[type="email"],
.sp-content-section textarea {
  border: 2px solid #E2E8F0 !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  font-family: var(--sp-font-primary) !important;
}

.sp-content-section input[type="text"]:focus,
.sp-content-section input[type="email"]:focus,
.sp-content-section textarea:focus {
  border-color: var(--sp-brand-teal) !important;
  outline: none !important;
}

.sp-content-section .wp-block-button .wp-block-button__link,
.sp-content-section button[type="submit"] {
  background: linear-gradient(135deg, #FF6B00 0%, #FF8800 100%) !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  padding: 14px 32px !important;
  border: none !important;
}
