/*-----------------------------------*\
  #MAQUETAS STYLES
\*-----------------------------------*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --maquetas-color-primary-yellow: #facc15;
  --maquetas-color-text-main: #1f2937;
  --maquetas-bg-light: #f9fafb;
}

body {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  min-height: 100vh;
  line-height: 1.6;
}

body.modal-active {
  overflow: hidden;
}

.floating-cart {
  display: none !important;
}

/*-----------------------------------*\
  #MODAL STYLES
\*-----------------------------------*/

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 1rem;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}

.modal-image-container {
  width: 100%;
  max-height: 60vh;
  overflow: hidden;
  flex-shrink: 0;
}

.modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-info {
  padding: 2rem;
  flex: 1;
  overflow-y: auto;
}

.modal-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--maquetas-color-text-main);
  margin-bottom: 0.5rem;
}

.modal-category {
  color: var(--maquetas-color-primary-yellow);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-description {
  color: #6b7280;
  line-height: 1.6;
  font-size: 1rem;
}

/*-----------------------------------*\
  #MAQUETAS HERO
\*-----------------------------------*/

.maquetas-container {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.maquetas-container > div:first-child {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.maquetas-container .overlay-gradient {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.3)
  );
}

.maquetas-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.maquetas-content-wrapper {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  text-align: center;
  color: white;
}

.maquetas-content-wrapper .text-container {
  max-width: 64rem;
  margin: 0 auto;
}

.maquetas-content-wrapper h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.15;
  font-family: "Montserrat", sans-serif;
}

.maquetas-content-wrapper h1 .text-primary-yellow {
  color: #facc15;
}

.maquetas-content-wrapper p {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 800;
  color: #f3f4f6;
  max-width: 48rem;
  margin: 1rem auto 0;
  line-height: 1.75;
  font-family: "Open Sans", sans-serif;
}

.maquetas-content-wrapper .button-group {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.maquetas-content-wrapper .btn-solicitar {
  background-color: #facc15;
  color: white;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.4s ease-in-out;
  font-family: "Open Sans", sans-serif;
  border: none;
  cursor: pointer;
}

.maquetas-content-wrapper .btn-solicitar:hover {
  background-color: #eab308;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

.maquetas-content-wrapper .btn-ejemplos {
  border: 2px solid white;
  color: white;
  background-color: transparent;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.6s ease-in-out;
  font-family: "Open Sans", sans-serif;
  cursor: pointer;
}

.maquetas-content-wrapper .btn-ejemplos:hover {
  background-color: white;
  color: #111827;
}

.maquetas-content-wrapper .scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  animation: bounce 1s infinite;
}

.maquetas-content-wrapper .scroll-indicator svg {
  width: 1.5rem;
  height: 1.5rem;
}

.btn-ejemplos {
  background-color: #ffffff;
  color: #111827;
  border-radius: 0.5rem;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  width: 14rem;
  border: none;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10%);
  }
}

/*-----------------------------------*\
  #MAQUETAS PORTFOLIO
\*-----------------------------------*/

.portfolio-section {
  padding: 5rem 0;
  background: white;
  position: relative;
}

.portfolio-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 4rem;
}

.portfolio-header h2 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: var(--maquetas-color-text-main);
  font-family: "Montserrat", sans-serif;
}

.portfolio-header .highlight {
  color: var(--maquetas-color-primary-yellow);
}

.portfolio-header p {
  font-size: 1.25rem;
  color: #4b5563;
  max-width: 768px;
  margin: 0 auto;
}

/*-----------------------------------*\
  #MAQUETAS PORTFOLIO CAROUSEL
\*-----------------------------------*/

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 1200px;
}

.carousel {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 2rem;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  touch-action: pan-x pan-y;
  will-change: transform;
}

.carousel-track:active {
  cursor: grabbing;
}

.carousel-track.dragging {
  transition: none;
  cursor: grabbing;
}

.carousel-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex: 0 0 calc(33.333% - 1.33rem);
  max-width: calc(33.333% - 1.33rem);
  transition: transform 0.4s;
  position: relative;
}

.carousel-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.carousel-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s ease;
  cursor: pointer;
}

.carousel-card:hover img {
  transform: scale(1.05);
}

.category-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--maquetas-color-primary-yellow);
  color: #111827;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
  font-family: "Open Sans", sans-serif;
  z-index: 2;
}

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--maquetas-color-text-main);
  margin-bottom: 0.75rem;
}

.card-content p {
  color: #6b7280;
  line-height: 1.6;
  font-size: 0.875rem;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--maquetas-color-primary-yellow);
  border: none;
  color: white;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  transition: all 0.6s ease;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-nav:hover {
  background: #eab308;
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
  left: -2rem;
}

.carousel-nav.next {
  right: -2rem;
}

.categories-section {
  margin-top: 4rem;
  text-align: center;
}

.categories-section h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--maquetas-color-text-main);
  margin-bottom: 2rem;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.categories span {
  background: var(--maquetas-bg-light);
  color: #374151;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.categories span:hover {
  background: var(--maquetas-color-primary-yellow);
  color: white;
}

/*-----------------------------------*\
  #MAQUETAS CONTACT
\*-----------------------------------*/

.contact-section {
  background: #f9fafb;
  padding: 80px 0;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header h2 {
  font-size: 3rem;
  font-weight: bold;
  color: var(--maquetas-color-text-main);
}

.contact-header .highlight {
  color: var(--maquetas-color-primary-yellow);
}

.contact-header p {
  max-width: 700px;
  margin: 20px auto 0;
  color: #4b5563;
  font-size: 1.125rem;
  line-height: 1.6;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Left Column Styles */
.contact-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card,
.process-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-info-card h3,
.process-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--maquetas-color-text-main);
  margin-bottom: 1.5rem;
  text-align: center;
  font-family: "Montserrat", sans-serif;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-container {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.icon-container.email {
  background: var(--maquetas-color-primary-yellow);
}

.icon-container.phone {
  background: #10b981;
}

.icon-container.hours {
  background: #3b82f6;
}

.info-text {
  flex: 1;
}

.info-text .label {
  font-weight: 600;
  color: var(--maquetas-color-text-main);
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.info-text .value {
  color: #6b7280;
  font-size: 0.875rem;
}

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

.process-steps li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: #4b5563;
  line-height: 1.5;
}

.process-steps li:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--maquetas-color-primary-yellow);
  color: #111827;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.step-text {
  flex: 1;
  font-size: 0.875rem;
}

/* Right Column - Form Styles */
.contact-right {
  display: flex;
  justify-content: center;
}

.form-card {
  background: white;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
}

.form-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--maquetas-color-text-main);
  margin-bottom: 1.5rem;
  text-align: center;
  font-family: "Montserrat", sans-serif;
}

.form-grid {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  color: var(--maquetas-color-text-main);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: border-color 0.3s ease;
  font-family: "Inter", sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--maquetas-color-primary-yellow);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
}

.date-input-container {
  position: relative;
}

.date-input-container i {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

#submitBtn {
  background: var(--maquetas-color-primary-yellow);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
  width: 100%;
}

#submitBtn:hover {
  background: #eab308;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.3);
}

.form-message {
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.form-message.success {
  color: #10b981;
}

.form-message.error {
  color: #ef4444;
}

/*-----------------------------------*\
  #RESPONSIVE
\*-----------------------------------*/

@media (max-width: 1440px) and (min-width: 1068px) {
  .contact-container {
    max-width: 1000px;
    padding: 0 24px;
  }

  .contact-content {
    gap: 2.5rem;
  }

  .form-card {
    padding: 2.5rem;
    max-width: 450px;
  }

  .contact-info-card,
  .process-card {
    padding: 1.25rem;
  }
}

@media (max-width: 768px) {
  .maquetas-content-wrapper .button-group {
    flex-direction: column;
    align-items: center;
  }

  .maquetas-content-wrapper .btn-solicitar {
    width: 100%;
  }

  .maquetas-content-wrapper .btn-ejemplos {
    width: 100%;
  }

  .button-input {
    width: 100%;
  }

  .portfolio-header h2 {
    font-size: 2rem;
  }

  .portfolio-header p {
    font-size: 1rem;
  }

  .modal {
    padding: 0.5rem;
  }

  .modal-content {
    max-width: 95vw;
    max-height: 95vh;
  }

  .modal-image-container {
    max-height: 50vh;
  }

  .modal-info {
    padding: 1.5rem;
  }

  .modal-title {
    font-size: 1.25rem;
  }

  .carousel-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .carousel-nav {
    display: none;
  }

  .categories-section h3 {
    font-size: 1.25rem;
  }

  .contact-container {
    padding: 0 1rem;
  }

  .contact-header h2 {
    font-size: 2rem;
  }

  .contact-header p {
    font-size: 1rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info-card,
  .process-card,
  .form-card {
    padding: 1.5rem;
  }

  .info-item {
    gap: 0.75rem;
  }

  .icon-container {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .form-card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 60px 0;
  }

  .contact-container {
    padding: 0 0.75rem;
  }

  .contact-header {
    margin-bottom: 40px;
  }

  .contact-header h2 {
    font-size: 1.75rem;
  }

  .contact-header p {
    font-size: 0.875rem;
    margin: 15px auto 0;
  }

  .contact-content {
    gap: 1.5rem;
  }

  .contact-info-card,
  .process-card,
  .form-card {
    padding: 1.25rem;
    border-radius: 8px;
  }

  .contact-info-card h3,
  .process-card h3,
  .form-card h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }

  .info-items {
    gap: 1rem;
  }

  .info-item {
    gap: 0.5rem;
  }

  .icon-container {
    width: 36px;
    height: 36px;
    font-size: 0.875rem;
  }

  .info-text .label {
    font-size: 0.75rem;
  }

  .info-text .value {
    font-size: 0.75rem;
  }

  .process-steps li {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .step-number {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .step-text {
    font-size: 0.75rem;
  }

  .form-grid {
    gap: 1rem;
  }

  .form-group label {
    font-size: 0.75rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.625rem;
    font-size: 0.75rem;
  }

  .form-group textarea {
    min-height: 100px;
  }

  #submitBtn {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }

  .maquetas-content-wrapper h1 {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .maquetas-content-wrapper p {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
  }

  .portfolio-header h2 {
    font-size: 1.75rem;
  }

  .portfolio-header p {
    font-size: 0.875rem;
  }

  .carousel-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .card-content {
    padding: 1rem;
  }

  .card-content h3 {
    font-size: 1.125rem;
  }

  .card-content p {
    font-size: 0.75rem;
  }

  .categories span {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
}
