/**
 * Smort Card CTA Block Styles
 */

.smort-card-cta {
  padding: 2rem 0;
  background-image: url("../../../assets/img/elements/pattern-parkys.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.smort-card-cta-container {
  max-width: 2000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.smort-card-cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: stretch;
}

/* Left Section */
.smort-card-cta-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
  border-radius: 8px;
}

.smort-card-cta-title {
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 0;
  color: #1a1a1a;
}

.smort-card-cta-description {
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
  color: #4a4a4a;
}

.smort-card-cta-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 1rem;
  padding-top: 1rem;
}

.smort-card-cta-contact-image {
  flex-shrink: 0;
}

.smort-card-cta-contact-image img {
  aspect-ratio: 3/4;
  width: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
}

.smort-card-cta-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.smort-card-cta-contact-name {
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0;
  color: #1a1a1a;
}

.smort-card-cta-contact-phone,
.smort-card-cta-contact-email {
  font-size: 1.2rem;
  margin: 0;
  color: #666;
}

.smort-card-cta-contact-phone a,
.smort-card-cta-contact-email a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.smort-card-cta-contact-phone a:hover,
.smort-card-cta-contact-email a:hover {
  color: #1a1a1a;
}

/* Right Section - Stats Cards */
.smort-card-cta-right {
  width: 100%;
}

.smort-card-cta-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  height: auto;
}

.smort-card-cta-card {
  background: #1a1f2e;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  text-align: left;
  min-height: auto;
  height: auto;
  transition: transform 0.2s ease;
  position: relative;
}

.smort-card-cta-card:hover {
  transform: translateY(-4px);
}

.smort-card-cta-card-number {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.smort-card-cta-card-label {
  font-size: 0.875rem;
  color: var(--primary);
  line-height: 1.5;
  font-weight: 400;
  border-top: 1px solid var(--border-dark);
  padding-top: 0.6rem;
  width: 100%;
}

/* Small phones - 2 column grid for cards */
@media (min-width: 480px) {
  .smort-card-cta-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .smort-card-cta-card {
    padding: 1.75rem 1.5rem;
    min-height: 180px;
  }

  .smort-card-cta-card-number {
    font-size: 3rem;
  }

  .smort-card-cta-contact {
    flex-direction: row;
    align-items: flex-end;
  }

  .smort-card-cta-contact-image img {
    width: 150px;
  }
}

/* Tablet and up */
@media (min-width: 768px) {
  .smort-card-cta {
    padding: 3rem 0;
  }

  .smort-card-cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .smort-card-cta-left {
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .smort-card-cta-title {
    font-size: 1rem;
  }

  .smort-card-cta-description {
    font-size: 1rem;
  }

  .smort-card-cta-cards-grid {
    gap: 0.75rem;
  }

  .smort-card-cta-card {
    padding: 2rem 1.5rem;
    min-height: 200px;
    height: 100%;
  }

  .smort-card-cta-card-number {
    font-size: 3.5rem;
    margin-bottom: 1rem;
  }

  .smort-card-cta-card-label {
    font-size: 0.9375rem;
  }

  .smort-card-cta-contact-image img {
    width: 180px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .smort-card-cta {
    padding: 4rem 0;
  }

  .smort-card-cta-wrapper {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2rem;
  }

  .smort-card-cta-left {
    padding: 2rem;
  }

  .smort-card-cta-title {
    font-size: 1rem;
  }

  .smort-card-cta-description {
    font-size: 1.5rem;
  }

  .smort-card-cta-cards-grid {
    gap: 1rem;
  }

  .smort-card-cta-card {
    padding: 2rem;
    min-height: 280px;
  }

  .smort-card-cta-card-number {
    font-size: 4rem;
    margin-bottom: 1.5rem;
  }

  .smort-card-cta-card-label {
    font-size: 1rem;
  }

  .smort-card-cta-contact-image img {
    width: 200px;
  }
}

/* Large Desktop */
@media (min-width: 1280px) {
  .smort-card-cta {
    padding: 5rem 0;
  }

  .smort-card-cta-description {
    font-size: 2rem;
  }

  .smort-card-cta-left {
    padding: 0;
  }

  .smort-card-cta-title {
    font-size: var(--text-2xl);
  }

  .smort-card-cta-card {
    padding: 2.5rem 2rem;
    min-height: 350px;
  }

  .smort-card-cta-card-number {
    font-size: 5rem;
  }

  .smort-card-cta-card-label {
    font-size: 1.125rem;
  }
}
