:root {
  --primary-color: #111827;
  --secondary-color: #374151;
  --accent-color: #6b7fa3;
  --light-blue: #a8bdd8;
  --background-light: #E5E7EB;
  --white-color: #ffffff;
  --text-dark: #111827;
  --text-medium: #5a6c82;
  --text-light: #8a9db5;
  --border-color: #e2e8f0;
  --logo-h: clamp(140px, 14vw, 180px);
  --logo-w: clamp(280px, 28vw, 350px);
  --logo-aspect-cap: 2.4;
}

@font-face {
  font-family: "Gilroy-Regular";
  src: local("Gilroy-Regular"),
    url("../../assets/fonts/gilroy/Gilroy-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Gilroy-Medium";
  src: local("Gilroy-Medium"),
    url("../../assets/fonts/gilroy/Gilroy-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "Gilroy-Bold";
  src: local("Gilroy-Bold"),
    url("../../assets/fonts/gilroy/Gilroy-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Gilroy-SemiBold";
  src: local("Gilroy-SemiBold"),
    url("../../assets/fonts/gilroy/Gilroy-SemiBold.ttf") format("truetype");
}

html {
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-family: "Gilroy-Regular", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  box-sizing: border-box;
}

/* Asegurar que todos los contenedores no tengan restricciones que afecten el nav */
* {
  box-sizing: border-box;
}

.container,
#root,
#app,
main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Navigation Styles */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  background-color: var(--white-color);
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.3);
  z-index: 1000;
  height: 80px;
  margin: 0;
  padding: 0;
  min-width: 100vw;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
}

.nav__link_logo {
  position: absolute;
  left: 20px;
  z-index: 3;
}

.nav__logo {
  width: 160px;
  height: auto;
}

.nav__links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
  justify-content: center;
}

.nav__item {
  list-style: none;
}

.nav__link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.25rem;
  font-family: "Gilroy-Medium";
  position: relative;
  transition: color 0.3s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease-in-out;
}

.nav__link:hover::after {
  width: 100%;
}

.nav__hamburguer,
.nav__close {
  display: none;
  cursor: pointer;
  z-index: 3;
  background: none;
  border: none;
  padding: 8px;
}

.nav__icon {
  width: 28px;
  height: 28px;
  fill: var(--primary-color);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav__hamburguer {
    display: block;
    position: absolute;
    right: 20px;
  }

  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--white-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    overflow: hidden;
  }

  .nav__links.active {
    transform: translateX(0);
  }

  .nav__link {
    color: var(--primary-color);
    font-size: 1.2rem;
  }

  .nav__link:hover {
    color: var(--accent-color);
  }

  .nav__close {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
  }

  .nav__close.active {
    display: block;
  }

  .nav__close .nav__icon {
    fill: var(--primary-color);
  }
  
  /* Prevenir scroll cuando el menú móvil está activo */
  body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
  }
}

/* Hero Section */
.hero {
  background-color: rgba(68, 83, 127, 1);
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white-color);
  position: relative;
  overflow: hidden;
  padding: 60px 20px;
}

.hero__container {
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
  z-index: 2;
  position: relative;
}

.hero__content {
  max-width: 900px;
  margin: 0 auto;
}

.hero__title {
  font-family: "Gilroy-Bold";
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero__description {
  font-size: clamp(20px, 2vw, 1.1rem);
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
	font-family: "Gilroy-Medium";
}

/* .hero__image no longer needed - background is set directly on .hero */

/* Logo Carousel Section */
.logo-carousel {
  padding: 20px 0;
  background-color: var(--white-color);
  overflow: hidden;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
	margin-bottom: 50px;
	margin-top: 50px;
}

.logo-carousel__container {
  max-width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  width: 100%;
}

.logo-carousel__title {
  font-family: "Gilroy-Bold";
  font-size: clamp(1.2rem, 2vw, 2.2rem);
  color: var(--primary-color);
  margin-bottom: 40px;
  text-align: center;
  padding: 0 20px;
}

.logo-carousel__track-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-carousel__track {
  display: flex;
  animation: scroll-logos 40s linear infinite;
  width: max-content;
}

.logo-carousel__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  margin: 0;
  flex-shrink: 0;
  flex: 0 0 auto;
}

.logo-carousel__logo {
  max-width: min(var(--logo-w), calc(var(--logo-h) * var(--logo-aspect-cap)));
  max-height: var(--logo-h);
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  transition: all 0.3s ease;
  display: block;
  opacity: 1;
}

.logo-carousel__logo:hover {
  transform: scale(1.05);
}

.logo-carousel__logo--plaza-futura {
  max-width: min(calc(var(--logo-w) * 0.65), calc(var(--logo-h) * var(--logo-aspect-cap) * 0.65)) !important;
  max-height: calc(var(--logo-h) * 0.65) !important;
}

.logo-carousel__logo--sbnx {
  max-width: 600px !important;
  max-height: 400px !important;
  width: auto !important;
  height: auto !important;
  min-width: 110px !important;
  min-height: 100px !important;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-25%);
  }
}

/* Pausar animación al hacer hover */
.logo-carousel__track:hover {
  animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo-carousel {
    padding: 40px 0;
  }
  
  .logo-carousel__title {
    margin-bottom: 30px;
  }
  
  .logo-carousel__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    margin: 0;
    flex-shrink: 0;
    flex: 0 0 auto;
  }
  
  :root {
    --logo-h: clamp(100px, 14vw, 140px);
    --logo-w: clamp(200px, 32vw, 260px);
    --logo-aspect-cap: 2.4;
  }
  
  .logo-carousel__logo {
    max-width: min(var(--logo-w), calc(var(--logo-h) * var(--logo-aspect-cap)));
    max-height: var(--logo-h);
    filter: none;
    opacity: 1;
  }
  
  .logo-carousel__track {
    animation-duration: 30s;
  }
  
  .logo-carousel__logo--sbnx {
    max-width: 140px !important;
    max-height: 110px !important;
  }
}

@media (max-width: 480px) {
  .logo-carousel__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    margin: 0;
    flex-shrink: 0;
    flex: 0 0 auto;
  }
  
  :root {
    --logo-h: clamp(80px, 16vw, 120px);
    --logo-w: clamp(160px, 48vw, 220px);
    --logo-aspect-cap: 2.4;
  }
  
  .logo-carousel__logo {
    max-width: min(var(--logo-w), calc(var(--logo-h) * var(--logo-aspect-cap)));
    max-height: var(--logo-h);
    filter: none;
    opacity: 1;
  }
  
  .logo-carousel__track {
    animation-duration: 25s;
  }
  
  .logo-carousel__logo--sbnx {
    max-width: 90px !important;
    max-height: 90px !important;
  }
}

/* Projects Section */
.projects {
  padding-top: 80px;
  padding-bottom: 120px;
  background-color: var(--white-color);
	
	@media (min-width: 1440px) {
		padding-top: 100px;
	}

	@media (min-width: 2560px) {
		padding-top: 120px;
	}
}

.projects__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.projects__title {
  font-family: "Gilroy-Bold";
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 0;
}

.project-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(45, 62, 88, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--white-color);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(45, 62, 88, 0.2);
}

.project-card__image {
  height: 400px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Franjas decorativas */
.project-card__ribbon {
  position: absolute;
  top: 0;
  left: -50px;
  width: 300px;
  height: 150px;
  z-index: 3;
  pointer-events: none;
}

/* Ocultar franjas móviles en desktop */
.project-card__ribbon--mobile {
  display: none;
}

.project-card__ribbon-top {
  position: absolute;
  top: 35px;
  left: -30px;
  width: 300px;
  height: 40px;
  background: linear-gradient(90deg, #f97316 0%, #fb923c 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Gilroy-Bold";
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  transform: rotate(-45deg);
  transform-origin: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.project-card__ribbon-bottom {
  position: absolute;
  top: 75px;
  left: -30px;
  width: 300px;
  height: 35px;
  background: linear-gradient(90deg, #0891b2 0%, #06b6d4 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Gilroy-Bold";
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  transform: rotate(-45deg);
  transform-origin: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.project-card__image--vistas {
  background-image: url('../../assets/img/hero/hero-image.svg');
}

.project-card__image--studio {
  background-image: url('../../assets/img/proyects/studio-89-fondo.png');
}

.project-card__overlay {
  text-align: center;
  color: var(--white-color);
  padding: 40px 30px;
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  align-items: center;
}

.project-card__logo {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
}

.project-card__logo-img {
  max-width: 380px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.project-card__title {
  font-family: "Gilroy-Bold";
  font-size: 1.8rem;
  margin-bottom: 10px;
  line-height: 1.2;
}

.project-card__subtitle {
  font-size: 1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.project-card__cta {
  display: block;
  width: 100%;
  background-color: var(--white-color);
  color: var(--primary-color);
  text-decoration: none;
  text-align: center;
  padding: 16px 50px;
  border-radius: 8px;
  font-family: "Gilroy-Medium";
  font-size: 1.125rem;
  font-weight: 500;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.project-card__cta:hover {
  background-color: var(--background-light);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* About Section */
.about {
  padding: 80px 0;
  background-color: var(--white-color);
}

.about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.about__title {
  font-family: "Gilroy-Bold";
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about__description {
  font-size: 1.2rem;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

.about__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.feature {
  text-align: center;
  padding: 30px 20px;
}

.feature__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), var(--light-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature__svg {
  width: 40px;
  height: 40px;
  fill: var(--white-color);
}

.feature__title {
  font-family: "Gilroy-SemiBold";
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.feature__description {
  color: var(--text-medium);
  line-height: 1.6;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background-color: var(--white-color);
  color: var(--text-dark);
}

.contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact__content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__title {
  font-family: "Gilroy-Bold";
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
  color: var(--primary-color);
}

.contact__subtitle {
  font-family: "Gilroy-SemiBold";
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--text-medium);
  opacity: 0.9;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.contact__input,
.contact__textarea {
  padding: 15px;
  border: none;
  border-radius: 6px;
  font-family: "Gilroy-Regular";
  font-size: 1rem;
  background-color: #f9fafb;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.contact__input::placeholder,
.contact__textarea::placeholder {
  color: var(--text-light);
}

.contact__input:focus,
.contact__textarea:focus {
  outline: none;
  background-color: var(--white-color);
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(107, 127, 163, 0.1);
}

.contact__input--full {
  grid-column: 1 / -1;
}

.contact__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__btn {
  background-color: var(--primary-color);
  color: var(--white-color);
  border: 2px solid var(--primary-color);
  padding: 15px 30px;
  border-radius: 6px;
  font-family: "Gilroy-Medium";
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.contact__btn:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.contact__btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact__social {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact__social-icons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.contact__social-link {
  width: 50px;
  height: 50px;
  background-color: var(--background-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.contact__social-link:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.contact__social-icon {
  width: 24px;
  height: 24px;
  fill: var(--text-medium);
  transition: fill 0.3s ease;
}

.contact__social-link:hover .contact__social-icon {
  fill: var(--white-color);
}

/* Message Styles */
#message {
  background-color: rgba(76, 175, 80, 0.1);
  color: #4caf50;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  display: none;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

#message-error {
  background-color: rgba(244, 67, 54, 0.1);
  color: #f44336;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  display: none;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 60px 0 20px;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer__brand {
  max-width: 400px;
}

.footer__logo {
  width: 220px;
  height: auto;
  margin-bottom: 20px;
}

.footer__address {
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 0;
}

.footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer__section-title {
  font-family: "Gilroy-SemiBold";
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--white-color);
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__list li {
  margin-bottom: 10px;
}

.footer__link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--white-color);
}

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

.footer__copyright {
  margin: 0;
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer__social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: flex-start;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer__social-link:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

.footer__social-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 80px 20px;
  }

  .hero {
    padding: 40px 20px;
    min-height: auto;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .projects {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .projects__title {
    margin-bottom: 40px;
    font-size: 1.8rem;
  }

  .projects__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .project-card__image {
    height: 350px;
  }

  /* Ocultar franjas desktop en móvil */
  .project-card__ribbon--desktop {
    display: none;
  }

  /* Mostrar franjas móviles */
  .project-card__ribbon--mobile {
    display: flex;
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
  }

  .project-card__ribbon--mobile .project-card__ribbon-top {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    font-size: 0.85rem;
    transform: none;
    border-radius: 0;
  }

  .project-card__ribbon--mobile .project-card__ribbon-bottom {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 36px;
    font-size: 0.8rem;
    transform: none;
    border-radius: 0;
  }

  .about__features {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact__content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0;
  }

  .contact__form {
    width: 100%;
    max-width: 100%;
  }

  .contact__form-row {
    grid-template-columns: 1fr;
    gap: 15px;
    width: 100%;
  }

  .contact__input,
  .contact__textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .contact__social {
    order: -1;
    text-align: center;
  }

  .footer__content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .footer__brand {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .footer__logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer__links {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .footer__social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 15px;
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .projects__container,
  .about__container,
  .contact__container,
  .footer__container {
    padding: 0 15px;
  }

  .contact__container {
    padding: 0 10px;
  }

  .contact__form {
    padding: 0;
    margin: 0;
  }

  .contact__input,
  .contact__textarea {
    padding: 12px;
    font-size: 16px; /* Evita zoom en iOS */
  }

  .contact__title {
    font-size: 2rem;
  }

  .contact__subtitle {
    font-size: 1.2rem;
  }

  .project-card__image {
    height: 300px;
  }

  .project-card__overlay {
    padding: 30px 20px;
  }

  /* Ocultar franjas desktop en móvil */
  .project-card__ribbon--desktop {
    display: none;
  }

  /* Mostrar franjas móviles */
  .project-card__ribbon--mobile {
    display: flex;
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
  }

  .project-card__ribbon--mobile .project-card__ribbon-top {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 38px;
    font-size: 0.8rem;
    transform: none;
    border-radius: 0;
  }

  .project-card__ribbon--mobile .project-card__ribbon-bottom {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 34px;
    font-size: 0.75rem;
    transform: none;
    border-radius: 0;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .contact__container {
    padding: 0 5px;
  }

  .contact__input,
  .contact__textarea {
    padding: 10px;
    min-width: 0;
  }

  .contact__form-row {
    gap: 10px;
  }
}
