/* ============================================================
   OHIO COUNTERTOP PROS — Service Landing Page Styles
   Inherits design tokens from styles.css
   ============================================================ */

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  position: relative;
  padding: 120px 0 80px;
  background:
    url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=1920&q=85')
    center 40% / cover no-repeat;
  text-align: center;
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 32, 87, 0.94) 0%,
    rgba(30, 64, 175, 0.88) 50%,
    rgba(59, 130, 246, 0.82) 100%
  );
  z-index: 1;
}

.page-hero-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}

.page-hero-shape svg {
  width: 100%;
  height: 80px;
}

.page-hero-content {
  position: relative;
  z-index: 3;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--primary-300);
}

.breadcrumb svg {
  opacity: 0.4;
}

.breadcrumb span {
  color: var(--white);
  font-weight: 600;
}

.page-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  animation: fadeInUp 0.7s var(--ease-out);
}

.page-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  animation: fadeInUp 0.7s var(--ease-out) 0.1s both;
}

.page-hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-weight: 700;
  padding: 6px 16px;
  margin-left: 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.page-hero-phone:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

/* ============================================================
   MATERIALS DETAIL
   ============================================================ */
.sp-materials {
  padding: var(--section-py) 0 60px;
  background: var(--white);
}

.sp-materials-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 56px;
}

.sp-materials-header .section-desc {
  color: var(--gray-500);
  font-size: 1rem;
  line-height: 1.8;
  margin-top: 12px;
}

/* Material Cards */
.sp-materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.sp-material-card {
  text-align: center;
  padding: 0 8px;
  transition: transform var(--transition-normal);
}

.sp-material-card:hover {
  transform: translateY(-6px);
}

.sp-material-img {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  outline: 2px solid var(--gray-100);
}

.sp-material-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.sp-material-card:hover .sp-material-img img {
  transform: scale(1.08);
}

.sp-material-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0) 30%,
    rgba(255,255,255,0.15) 50%,
    rgba(255,255,255,0) 70%
  );
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.sp-material-card:hover .sp-material-shine {
  opacity: 1;
}

.sp-material-card h3 {
  font-size: 1.2rem;
  color: var(--primary-700);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--font-body);
  font-weight: 700;
}

.sp-material-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.sp-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-600);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}

.sp-learn-more:hover {
  color: var(--primary-800);
  border-bottom-color: var(--primary-800);
}

/* CTA Buttons Row */
.sp-materials-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-top: 8px;
}

/* ============================================================
   TRUST SECTION
   ============================================================ */
.sp-trust {
  position: relative;
  padding: 72px 0;
  background: var(--gray-50);
  overflow: hidden;
}

.sp-trust-accent-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

.sp-trust-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.sp-trust-content h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--primary-900);
  margin-bottom: 20px;
  line-height: 1.35;
}

.sp-trust-content p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.sp-trust-content strong {
  color: var(--primary-700);
}

.sp-trust-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   HAPPY CLIENTS SECTION
   ============================================================ */
.sp-happy {
  position: relative;
  padding: var(--section-py) 0;
  background:
    url('https://images.unsplash.com/photo-1484154218962-a197022b5858?w=1920&q=80')
    center / cover no-repeat;
  overflow: hidden;
}

.sp-happy-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 32, 87, 0.93) 0%,
    rgba(30, 64, 175, 0.88) 100%
  );
}

.sp-happy-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.sp-happy-content {
  color: var(--white);
}

.sp-happy-content h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.3;
}

.sp-happy-content p {
  color: rgba(255,255,255,0.75);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.sp-happy-image {
  position: relative;
}

.sp-happy-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.sp-happy-image-frame {
  position: absolute;
  top: -12px;
  right: -12px;
  bottom: 12px;
  left: 12px;
  border: 2px solid rgba(96, 165, 250, 0.3);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* ============================================================
   CONTACT / MAP SECTION
   ============================================================ */
.sp-contact {
  padding: var(--section-py) 0;
  background: var(--white);
}

.sp-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Map Card */
.sp-map-wrapper {}

.sp-map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-100);
  background: var(--white);
}

.sp-map-info {
  padding: 24px 28px 20px;
}

.sp-map-info h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-weight: 700;
}

.sp-map-info p {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.sp-map-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
}

.sp-stars {
  color: var(--accent-400);
  letter-spacing: 2px;
}

.sp-map-rating span {
  font-weight: 700;
  color: var(--gray-800);
}

.sp-map-rating a {
  color: var(--primary-600);
  font-weight: 500;
}

.sp-map-rating a:hover {
  text-decoration: underline;
}

/* Contact Form Card */
.sp-contact-form-wrapper {}

.sp-contact-form-card {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--gray-100);
}

.sp-contact-form-card p {
  color: var(--gray-500);
  margin-bottom: 24px;
  font-size: 0.92rem;
}

/* ============================================================
   NEWSLETTER (Footer)
   ============================================================ */
.sp-newsletter {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.sp-newsletter input {
  flex: 1;
  padding: 12px 18px;
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: all var(--transition-fast);
}

.sp-newsletter input::placeholder {
  color: rgba(255,255,255,0.35);
}

.sp-newsletter input:focus {
  border-color: var(--primary-400);
  background: rgba(255,255,255,0.1);
}

.sp-newsletter .btn {
  flex-shrink: 0;
}

/* Social links in footer */
.sp-footer-socials {
  gap: 10px;
  margin-top: 0;
}

/* Footer bottom links */
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--primary-400);
}

.footer-bottom-links span {
  color: rgba(255,255,255,0.2);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .sp-materials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .sp-materials-grid .sp-material-card:last-child {
    grid-column: span 2;
  }

  .sp-happy-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sp-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 100px 0 60px;
  }

  .page-hero-title {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }

  .page-hero-subtitle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .page-hero-phone {
    margin-left: 0;
  }

  .sp-materials-grid {
    grid-template-columns: 1fr;
  }

  .sp-materials-grid .sp-material-card:last-child {
    grid-column: span 1;
  }

  .sp-material-img {
    width: 180px;
    height: 180px;
  }

  .sp-materials-cta {
    flex-direction: column;
    align-items: center;
  }

  .sp-trust-actions {
    flex-direction: column;
    align-items: center;
  }

  .sp-happy-image-frame {
    display: none;
  }

  .sp-contact-form-card {
    padding: 28px 24px;
  }

  .sp-newsletter {
    flex-direction: column;
  }
}
