/* Home Page Styles */

/* Services overview section */
.services-overview {
  position: relative;
}

.services-overview .grid {
  position: relative;
  z-index: 1;
}

/* ============================================
   Strength / Why SMAPRO Section
   ============================================ */
.strengths {
  position: relative;
  overflow: hidden;
}

/* Brand cards - stacked full-width layout */
.strength-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* Brand Card - horizontal layout */
.brand-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  background-color: var(--color-bg-primary);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}

@media (min-width: 768px) {
  .brand-card {
    grid-template-columns: 1fr 1fr;
  }
}

.brand-card:hover {
  border-color: rgba(74, 111, 165, 0.25);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(74, 111, 165, 0.06);
}

[data-theme="dark"] .brand-card:hover {
  border-color: rgba(74, 111, 165, 0.35);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(107, 143, 191, 0.1);
}

/* Left accent bar */
.brand-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--color-accent), var(--color-accent-light));
  transition: height 600ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.brand-card:hover::before {
  height: 100%;
}

/* Watermark brand name - spans full card */
.brand-card__watermark {
  position: absolute;
  bottom: -0.15em;
  right: 0.5rem;
  font-family: var(--font-family-en);
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 900;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.04;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -0.03em;
  user-select: none;
  transition: opacity 300ms ease;
  z-index: 0;
}

.brand-card:hover .brand-card__watermark {
  opacity: 0.07;
}

[data-theme="dark"] .brand-card__watermark {
  color: var(--color-accent-light);
  opacity: 0.12;
}

[data-theme="dark"] .brand-card:hover .brand-card__watermark {
  opacity: 0.18;
}

/* Left side - brand info */
.brand-card__left {
  position: relative;
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

/* Brand header */
.brand-card__label {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-family-en);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-widest);
  color: var(--color-accent);
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.brand-card__catch {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.brand-card__lead {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
  position: relative;
  z-index: 1;
}

.brand-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-lg);
  font-family: var(--font-family-en);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wide);
  color: var(--color-accent);
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: gap 300ms ease;
}

.brand-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-card:hover .brand-card__link {
  gap: 0.75rem;
}

.brand-card:hover .brand-card__link svg {
  transform: translateX(4px);
}

/* Right side - strength items */
.brand-card__right {
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  border-top: 1px solid var(--color-border-light);
}

@media (min-width: 768px) {
  .brand-card__right {
    border-top: none;
    border-left: 1px solid var(--color-border-light);
  }
}

/* Strength items */
.strength-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.strength-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent-subtle);
  border-radius: var(--radius-md);
  color: var(--color-accent);
  transition: background-color 300ms ease, color 300ms ease, transform 300ms ease;
}

.brand-card:hover .strength-item__icon {
  background-color: var(--color-accent);
  color: var(--color-white);
  transform: scale(1.05);
}

[data-theme="dark"] .brand-card:hover .strength-item__icon {
  background-color: var(--color-accent-light);
}

.strength-item__icon svg {
  width: 22px;
  height: 22px;
}

.strength-item__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.375rem;
}

.strength-item__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .brand-card,
  .brand-card::before,
  .brand-card__watermark,
  .strength-item__icon,
  .brand-card__link,
  .brand-card__link svg {
    transition: none;
  }

  .brand-card:hover::before {
    height: 100%;
  }
}

/* Works highlight */
.works-highlight .grid {
  margin-bottom: var(--space-xl);
}

.works-highlight__more {
  text-align: center;
}

/* CTA Section */
.cta-section {
  position: relative;
  text-align: center;
  background-color: var(--color-accent-dark);
  color: var(--color-white);
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(74, 111, 165, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-sm);
}

.cta-section__text {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-lg);
  max-width: 600px;
  margin-inline: auto;
}

/* CTA section button - white on dark background */
.cta-section .btn--primary {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--color-accent-dark);
}

.cta-section .btn--primary:hover,
.cta-section .btn--primary:focus-visible {
  background-color: #93B5E1;
  border-color: #93B5E1;
  color: #0a0a0a;
  box-shadow: 0 4px 20px rgba(147, 181, 225, 0.3);
}
