body,
html {
    margin: 0;
    padding: 0;
    color: #fff;
    background: url('../img/background.jpg') center center / cover no-repeat;
    background-color: #000000;
    background-attachment: fixed;
    scroll-behavior: smooth;
}

/* Sección de fondo */
.home-section {
    height: 100vh;
    position: relative;
}

/* Menú flotante */
.navbar-custom {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    color: #fff !important;
    font-size: 0.8rem;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 20px;
}

/* Contenido centrado en el fondo */
.home-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

.central-logo {
    width: 160px;
    max-width: 80vw;
}

.lead {
    text-transform: uppercase;
    font-style: oblique;
    font-weight: 100;
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
    margin-top: -5px;
}

/* Secciones comunes */
section {
    padding: 60px 0;
}

.spotify-section iframe {
    max-width: 100%;
    border: none;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

footer {
    padding: 40px 0;
    font-size: 0.7rem;
    font-weight: 100;
    letter-spacing: 3px;
}

.footer-text {
    color: #7c7c7c !important;
}

.footer-text-bold {
    color: #fff !important;
    font-weight: bold;
}

.bar {
    fill: violet;
    transform-origin: center bottom;
    animation: bounce 1s infinite ease-in-out;
}

.bar:nth-child(1) {
    animation-delay: 0s;
}

.bar:nth-child(2) {
    animation-delay: 0.1s;
}

.bar:nth-child(3) {
    animation-delay: 0.2s;
}

.bar:nth-child(4) {
    animation-delay: 0.3s;
}

.bar:nth-child(5) {
    animation-delay: 0.4s;
}

.bar:nth-child(6) {
    animation-delay: 0.3s;
}

.bar:nth-child(7) {
    animation-delay: 0.2s;
}

.bar:nth-child(8) {
    animation-delay: 0.1s;
}

.bar:nth-child(9) {
    animation-delay: 0s;
}

@keyframes bounce {
    0%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(2);
    }
}

.m-bar {
    fill: rgb(31, 26, 31);
    transform-origin: center bottom;
    animation: waveMove 1.2s infinite ease-in-out;
}

.m-bar:nth-child(1) {
    animation-delay: 0s;
}

.m-bar:nth-child(2) {
    animation-delay: 0.15s;
}

.m-bar:nth-child(3) {
    animation-delay: 0.3s;
}

.m-bar:nth-child(4) {
    animation-delay: 0.45s;
}

.m-bar:nth-child(5) {
    animation-delay: 0.6s;
}

.m-bar:nth-child(6) {
    animation-delay: 0.45s;
}

.m-bar:nth-child(7) {
    animation-delay: 0.3s;
}

.m-bar:nth-child(8) {
    animation-delay: 0.15s;
}

.m-bar:nth-child(9) {
    animation-delay: 0s;
}

@keyframes waveMove {
    0%, 100% {
        transform: scaleY(1);
    }
    25% {
        transform: scaleY(2.5);
    }
    50% {
        transform: scaleY(1.5);
    }
    75% {
        transform: scaleY(3);
    }
}

.scroll-down-arrow {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounceArrow 2s infinite;
    z-index: 10;
}

@keyframes bounceArrow {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.scroll-down-arrow svg {
    cursor: pointer;
    fill: none;
    stroke: #fff;
    transition: transform 0.3s ease;
}

.scroll-down-arrow:hover svg {
    transform: scale(1.5);
}

/* Sección de contacto */
.contact-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* <-- Alinea arriba */
    padding: 80px 40px;
    gap: 60px;
}

.left-side,
.right-side {
    flex: 1;
    max-width: 500px;
}

.left-side h2,
.right-side h2 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: rgb(255, 255, 255);
}

.social-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* <-- Alinea a la izquierda */
    gap: 20px;
}

.social-links a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: violet;
}

.social-links i {
    font-size: 1.2rem;
}

.right-side form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.right-side input,
.right-side textarea {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    background-color: #222;
    color: white;
}

.right-side textarea {
    resize: vertical;
    min-height: 120px;
}

.right-side button {
    padding: 12px;
    font-size: 1rem;
    background-color: violet;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.right-side button:hover {
    background-color: #b400b4;
}

@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    align-items: stretch; /* Cambiado de center a stretch */
    padding: 60px 0;
  }

  .left-side,
  .right-side {
    width: 100%;         /* Asegura que usen el 100% del ancho */
    max-width: none;     /* Elimina límites de ancho si había */
    padding: 0 20px;     /* Padding horizontal opcional */
  }

  .social-links {
    width: 100%;
    justify-content: center;
  }

  .right-side h2 {
    text-align: center;
  }

  .right-side form {
    width: 100%;
  }
}

.services-section {
    padding: 60px 20px;
    color: white;
    text-align: center;
}

.services-title {
    margin-bottom: 40px;
}

.services-subtitle, .works-subtitle {
    display: inline-block;
    margin: 0 auto 50px auto;
    max-width: 1200px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-box {
    border: 1px solid white;
    border-radius: 6px;
    padding: 30px 20px;
    position: relative;
    background: #000;
    text-align: left;
}

.service-icon {
    font-size: 2rem;
    color: violet;
    margin-bottom: 10px;
}

.brief {
    margin: 10px 0;
    font-size: 0.95rem;
}

.toggle-btn {
    background: none;
    border: none;
    color: violet;
    font-size: 1.2rem;
    cursor: pointer;
    margin-top: 10px;
}

.more-info {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #ccc;
    display: none;
}

.service-box.open .more-info {
    display: block;
}

.contact-subtitle {
    display: inline-block;
    margin: 0 auto 50px auto;
    max-width: 1200px;
}

.text-wrap {
    display: block !important;
    width: 100% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
}