/* Contact Page Styles */
/* Following BEM methodology and using existing design tokens */

/* Contact Section - Main Container */
.contact-section {
  padding: 60px 20px 60px;
  background-color: var(--color-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 45px;
}

/* Contact Hero Section */
.contact-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1116px;
  margin: 0 auto;
  padding-top: 100px;
}

/* Contact Hero Content */
.contact-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 100%;
  height: 100%;
}

/* Contact Hero Title */
.contact-hero__title {
  font-family: var(--font-family-space-grotesk);
  font-weight: 400;
  line-height: 1;
  color: var(--color-white);
  text-align: center;
  margin: 0;
}

/* Contact Hero Subtitle */
.contact-hero__subtitle {
  font-family: var(--font-family-space-grotesk);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text-light);
  text-align: center;
  max-width: 712px;
  margin: 0;
}

/* Contact Hero Background */
.contact-hero__background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--border-radius-lg);
}

.contact-hero__background img {
  width: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--border-radius-lg);
}

/* Contact Cards Container */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 1116px;
  margin: 0 auto;
}

/* Contact Cards Row */
.contact-cards__row {
  display: flex;
  gap: 15px;
  width: 100%;
}

/* Contact Card */
.contact-card {
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: var(--border-radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1;
  min-height: 222px;
}

/* Contact Card Content */
.contact-card__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: center;
}

.contact-card__content p {
  font-size: var(--p-minus);
}

/* Contact Card Title */
.contact-card__title {
  font-family: var(--font-family-space-grotesk);
  font-weight: 500;
  line-height: 1;
  color: var(--color-white);
  letter-spacing: -0.16px;
  margin: 0;
  white-space: nowrap;
}

/* Contact Card Description */
.contact-card__description {
  font-family: var(--font-family-space-grotesk);
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: -0.14px;
  margin: 0;
}

/* Contact Card Schedule */
.contact-card__schedule {
  font-family: var(--font-family-space-grotesk);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-text-light);
  letter-spacing: -0.14px;
  max-width: 302px;
  margin: 0;
}

/* Contact Card Contact Info */
.contact-card__contact {
  font-family: var(--font-family-space-grotesk);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  color: var(--color-primary);
  letter-spacing: -0.12px;
  margin: 0;
  text-decoration: none;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.contact-card__contact:hover {
  opacity: 0.8;
}

/* Social Media Card */
.contact-card--social {
  width: 100%;
  min-height: auto;
  padding: 30px;
}

/* Social Media Icons */
.contact-card__social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
  width: 131px;
  justify-content: space-between;
}

.contact-card__social-icon {
  width: 20px;
  height: 20px;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
  /* Prevent shrinking */
}



.contact-card__social-icon:hover {
  opacity: 0.8;
}

/* Security Section */
.security-section {
  background-color: var(--color-white);
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Security Container */
.security-container {
  display: flex;
  gap: 98px;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Security Visual */
.security-visual {
  flex-shrink: 0;
}

/* Security Phone Wrapper */
.security-phone-wrapper {
  position: relative;
  width: 497px;
  height: 444px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Security Phone */
.security-phone {
  object-fit: contain;
  object-position: center;
}

/* Security Content */
.security-content {
  display: flex;
  flex-direction: column;
  gap: 45px;
  max-width: 613px;
}

/* Security Title */
.security-title {
  font-family: var(--font-family-space-grotesk);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-black);
  letter-spacing: -0.4px;
  margin: 0;
  max-width: 519px;
}

/* Security Description */
.security-description {
  font-family: var(--font-family-space-grotesk);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.75);
  letter-spacing: -0.2px;
  margin: 0;
  max-width: 540px;
}

/* Responsive Design - Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .contact-hero {
    gap: 30px;
  }

  .contact-hero__title {
    font-size: 32px;
    letter-spacing: -0.32px;
  }

  .contact-hero__subtitle {
    font-size: 18px;
    letter-spacing: -0.18px;
  }

  .contact-cards__row {
    flex-direction: column;
    gap: 10px;
  }

  .contact-card {
    padding: 20px;
    gap: 20px;
    min-height: auto;
  }

  .contact-card__description,
  .contact-card__schedule {
    max-width: 100%;
  }

  .contact-card__social-icons {
    gap: 10px;
  }

  /* Security Section Mobile */
  .security-section {
    padding: 40px 20px;
  }

  .security-container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .security-content {
    align-items: center;
  }

  .security-phone-wrapper {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 497/444;
  }

  .security-phone {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .security-title {
    letter-spacing: -0.28px;
    max-width: 100%;
  }

  .security-description {
    letter-spacing: -0.16px;
    max-width: 100%;
  }
}

/* Responsive Design - Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .contact-hero {
    max-width: 100%;
  }

  .contact-cards {
    max-width: 100%;
  }

  .contact-cards__row {
    flex-wrap: wrap;
  }

  .contact-card {
    flex: 1 1 calc(50% - 7.5px);
    min-width: 280px;
  }

  .contact-card--social {
    flex: 1 1 100%;
  }

  /* Security Section Tablet */
  .security-container {
    gap: 60px;
  }

  .security-phone-wrapper {
    width: 400px;
    height: 360px;
  }

  .security-phone {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }



  .security-description {
    font-size: 18px;
    letter-spacing: -0.18px;
  }

  .security-cta {
    align-self: flex-start;
  }
}

/* Responsive Design - Desktop (min-width: 1025px) */
@media (min-width: 1025px) {
  .contact-hero {
    padding-top: 200px;
    max-width: 1116px;
  }

  .contact-cards {
    max-width: 1116px;
  }

  .security-section {
    padding: 200px 40px;
  }

  .security-cta {
    align-self: flex-start;
  }

}