.contact {
  background: #ffffff;
  color: #0b1b2b;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact__inner {
  height: 100%;
  /* display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  position: relative; */
  z-index: 1;
}

.contact .section-orb::before,
.contact .section-orb__icon {
  opacity: 0;
}

.contact .section__inner {
  width: 100%;
  padding: 0;
  /* max-width: none;
  padding: 5vw; */
}

.contact__card {
  height: 100%;
  display: grid;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.6fr) minmax(0, 1.6fr);
  padding: 3vw 5vw 0 5vw;
  align-items: center;
}

.contact__title {
  font-size: var(--fs-section-title);
  font-weight: 700;
  color: var(--color-accent);
}

.contact__lead {
  margin-top: 0.8rem;
  color: #4a5f73;
  line-height: 1.6;
  max-width: 320px;
}

.contact__lead strong {
  font-weight: 700;
  color: #0b1b2b;
}

.contact__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.2rem;
  width: 100%;
  max-width: 320px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(15, 169, 218, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 169, 218, 0.3);
}

.instagram {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.instagram__profile {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding-bottom: 0;
  border-bottom: none;
}

.instagram__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(15, 169, 218, 0.35);
}

.instagram__avatar-link {
  display: inline-flex;
  border-radius: 50%;
}

.instagram__handle {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0b1b2b;
  text-decoration: none;
}

.instagram__meta {
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: #6d7f92;
}

.instagram__follow {
  text-decoration: none;
  font-weight: 600;
  color: #ffffff;
  border: 1px solid transparent;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  background: var(--color-accent);
  box-shadow: 0 12px 24px rgba(15, 169, 218, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instagram__follow:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 169, 218, 0.3);
}

.instagram__posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.4vw, 1.1rem);
  align-items: start;
}

.instagram__post {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(0.6rem, 1.2vw, 0.9rem);
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #dbdbdb;
  color: #262626;
  text-decoration: none;
}

.instagram__post-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.instagram__post-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #e2e2e2;
}

.instagram__post-user {
  font-size: 0.82rem;
  font-weight: 600;
}

.instagram__post-location {
  margin-top: 0.15rem;
  font-size: 0.7rem;
  color: #8e8e8e;
}

.instagram__post-more {
  margin-left: auto;
  color: #8e8e8e;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.instagram__post-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #f2f2f2;
  border: 1px solid #ededed;
}

.instagram__post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.instagram__post-actions {
  display: flex;
  gap: 0.8rem;
  color: #262626;
}

.instagram__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.instagram__post-likes {
  font-size: 0.72rem;
  color: #8e8e8e;
}

.instagram__post-caption {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #262626;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.instagram__post-caption span {
  font-weight: 600;
  margin-right: 0.35rem;
}

.contact__footer {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 3vw, 2rem);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  align-self: end;
  padding-bottom: 2vh;
}

.footer__brand {
  display: flex;
  justify-content: flex-start;
}

.footer__logo {
  width: clamp(90px, 12vw, 140px);
  height: auto;
}

.footer__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 3rem);
}

.footer__title {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.7rem;
}

.footer__link,
.footer__text {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-top: 0.4rem;
}

.footer__link:hover {
  color: #ffffff;
}

.footer__link--whatsapp {
  font-weight: 600;
  color: #ffffff;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer__link--whatsapp:hover {
  color: var(--color-accent-light);
  transform: translateX(4px);
}

.footer__bottom {
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  text-align: center;
}

.footer__bottom-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

@media (max-width: 1023px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .instagram__profile {
    grid-template-columns: auto 1fr;
  }

  .instagram__follow {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 0.6rem;
  }

  .instagram__posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .contact {
    height: 100svh;
    min-height: 100svh;
    background: var(--color-accent);
    color: #ffffff;
  }

  .contact .section__inner {
    padding: 3rem 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .contact__card {
    height: 100%;
    min-height: 100%;
    width: min(92vw, 520px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.6rem;
  }

  .contact__grid {
    justify-items: center;
    gap: 1.6rem;
    width: 100%;
  }

  .contact__intro {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact__title {
    color: #ffffff;
  }

  .contact__lead {
    color: rgba(255, 255, 255, 0.85);
    max-width: 360px;
  }

  .contact__lead strong {
    color: #ffffff;
  }

  .contact__cta,
  .instagram__follow {
    background: #ffffff;
    color: var(--color-accent);
    box-shadow: 0 12px 24px rgba(8, 26, 40, 0.22);
  }

  .contact__cta:hover,
  .instagram__follow:hover {
    box-shadow: 0 16px 30px rgba(8, 26, 40, 0.28);
  }

  .instagram__avatar {
    border-color: rgba(255, 255, 255, 0.45);
  }

  .instagram__handle {
    color: #ffffff;
  }

  .instagram__meta {
    color: rgba(255, 255, 255, 0.7);
  }

  .instagram {
    display: none;
  }

  .instagram__posts {
    grid-template-columns: 1fr;
  }

  .footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
    text-align: center;
    gap: 1.4rem 2rem;
    width: 100%;
  }

  .footer__col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer__col--address {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
    order: 3;
  }

  .footer__col--address .footer__link,
  .footer__col--address .footer__text {
    justify-self: center;
  }

  .contact__footer {
    width: 100%;
    align-items: center;
    text-align: center;
    margin-top: 0;
    padding-bottom: 0;
    gap: 1.2rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }

  .footer__bottom {
    width: 100%;
    margin-top: auto;
  }
}
