@import url('../fonts/style.css');
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
    --color-primary: #022B3A;
    --color-secondary: #1F7A8C;
    --color-tertiary: #BFDBF7;
    --color-quaternary: #E1E5F2;
    --color-extra: #FFFFFF;
    --color-dark: #021922;
    --color-muted: rgba(2, 27, 42, 0.7);
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background: var(--color-quaternary);
    color: var(--color-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-dark);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(1, 15, 22, 0.98);
    color: #f4fbff;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-dark {
    background: rgba(1, 15, 22, 0.98);
    box-shadow: none;
    color: #f4fbff;
}

.site-header.is-light {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 25px rgba(2, 42, 47, 0.08);
    color: var(--color-dark);
}

.navbar {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem 3rem;
}

.logo {
    font-family: 'Braggadocio Regular font', sans-serif !important;
    font-size: 3rem;
    letter-spacing: 0.2rem;
    text-decoration: none;
    color: inherit;
    text-transform: uppercase;
    transition: transform 0.3s ease;
}

.site-header.is-dark .logo span {
    text-shadow: 0 8px 20px rgba(2, 9, 16, 0.6);
}

.site-header.is-light .logo span {
    text-shadow: none;
}

.logo:hover {
    transform: scale(1.04);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    margin-left: auto;
    align-items: center;
}

.nav-links li {
    display: flex;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    color: inherit;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    background: none;
    border: 1px solid rgba(244, 251, 255, 0.4);
    border-radius: 6px;
    width: 44px;
    height: 44px;
    color: inherit;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    margin-left: auto;
}

.site-header.is-light .nav-toggle {
    border-color: rgba(2, 27, 42, 0.25);
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    content: '';
    width: 20px;
    height: 2px;
    background: currentColor;
    display: block;
    position: relative;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle-bar::before {
    position: absolute;
    top: -6px;
}

.nav-toggle-bar::after {
    position: absolute;
    top: 6px;
}

.site-header.menu-open .nav-toggle-bar {
    background: transparent;
}

.site-header.menu-open .nav-toggle-bar::before {
    transform: translateY(6px) rotate(45deg);
}

.site-header.menu-open .nav-toggle-bar::after {
    transform: translateY(-6px) rotate(-45deg);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 1024px) {
    .navbar {
        padding: 0.85rem 2rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        color: inherit;
    }

    .nav-links {
        position: fixed;
        top: 76px;
        right: 1rem;
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.5rem;
        width: min(280px, calc(100% - 2rem));
        background: rgba(1, 15, 22, 0.98);
        border-radius: 18px;
        box-shadow: 0 25px 55px rgba(2, 18, 28, 0.45);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        margin-left: 0;
    }

    .site-header.menu-open .nav-links {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links a {
        font-size: 1.15rem;
    }

    .site-header.is-light .nav-links {
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 25px 55px rgba(2, 27, 42, 0.25);
    }
}

/* Hero Section */
#hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 85vh;
    background: linear-gradient(120deg, rgba(2, 43, 58, 0.55), rgba(31, 122, 140, 0.35)), url('../images/index-meta.jpeg') center/cover;
    background-attachment: fixed;
    color: #ffffff;
    position: relative;
    padding: 0 3rem;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(2, 27, 42, 0.25);
}

#hero .hero-content {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
}

#hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.8rem;
}

#hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

#hero-records,
#hero-estudio,
#hero-web {
    padding: 4.5rem 2rem;
    background: linear-gradient(140deg, var(--color-primary), var(--color-tertiary));
    color: #fff;
    text-align: center;
}

#hero-records {
    background: linear-gradient(160deg, rgba(2, 27, 42, 0.8), rgba(31, 122, 140, 0.4)), url('../images/records-meta.jpg') center/cover;
    background-attachment: fixed;
}

#hero-estudio {
    background: linear-gradient(160deg, rgba(2, 27, 42, 0.85), rgba(31, 122, 140, 0.35)), url('../images/estudio-meta.jpg') center/cover;
    background-attachment: fixed;
}

#hero-web {
    background: linear-gradient(160deg, rgba(2, 27, 42, 0.85), rgba(31, 122, 140, 0.45)), url('../images/web-meta.jpg') center/cover;
    background-attachment: fixed;
    position: relative;
}

#hero-records .hero-content,
#hero-estudio .hero-content,
#hero-web .hero-content {
    max-width: 760px;
    margin: 0 auto;
}

.cta-button {
    background-color: var(--color-secondary);
    color: #fff;
    padding: 1.1rem 2.8rem;
    border-radius: 50px;
    border: none;
    outline: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: var(--color-primary);
    color: var(--color-tertiary);
    transform: translateY(-3px);
}

.cta-button:focus-visible {
    outline: 3px solid var(--color-tertiary);
    outline-offset: 4px;
}

.contact-cta-center {
    text-align: center;
}

.contact-details {
    font-style: normal;
    margin: 1.25rem 0 0;
    line-height: 1.6;
    color: var(--color-dark);
}

.contact-details a {
    color: var(--color-secondary);
    font-weight: 600;
}

.contact-cta-center .contact-details {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.contact-cta-center .cta-button {
    display: inline-flex;
    justify-content: center;
    margin: 1.5rem auto 0;
}

section {
    padding: 5rem 2rem;
}

@media (min-width: 992px) {
    section {
        padding: 5.5rem 3rem;
    }
}

h2 {
    font-size: 3rem;
    color: var(--color-dark);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    height: 4px;
    width: 80px;
    background-color: var(--color-secondary);
    border-radius: 2px;
}

#about .about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5rem;
    max-width: 1400px;
    margin: 0 auto;
    text-align: left;
}

#about .about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#about p {
    font-size: 1.1rem;
}

#services {
    background: #ffffff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.75rem;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(145deg, rgba(191, 219, 247, 0.3), rgba(225, 229, 242, 0.9));
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 20px 35px rgba(2, 42, 47, 0.12);
    text-align: center;
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.learn-more-button {
    display: inline-block;
    margin-top: 1rem;
    color: var(--color-dark);
    background: rgba(255, 255, 255, 0.65);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
}

#record-services .service-grid,
#estudio-services .service-grid,
#web-services .service-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.5rem;
}

#record-services .service-card,
#estudio-services .service-card,
#web-services .service-card {
    text-align: left;
    padding: 1.25rem 1.4rem;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(2, 42, 47, 0.12);
    min-height: 100%;
}

#ia-training {
    background: #ffffff;
}

.ia-intro {
    max-width: 1000px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0 0 0.75rem;
}

.ia-pricing {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    background: rgba(191, 219, 247, 0.55);
    color: var(--color-dark);
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(2, 42, 47, 0.08);
}

.pill-primary {
    background: var(--color-secondary);
    color: #fff;
}

.ia-grid {
    margin-top: 2rem;
}

.ia-card {
    border: 1px solid rgba(2, 27, 42, 0.06);
    background: linear-gradient(145deg, rgba(225, 229, 242, 0.95), rgba(191, 219, 247, 0.35));
}

.ia-cta-row {
    text-align: center;
    max-width: 900px;
    margin: 2.5rem auto 0;
}

.ia-note {
    margin-top: 1rem;
    color: var(--color-muted);
}

#reaper-scripts {
    background: #ffffff;
}

.reaper-grid {
    margin-top: 2rem;
}

.reaper-card {
    border: 1px solid rgba(2, 27, 42, 0.08);
    background: linear-gradient(145deg, rgba(225, 229, 242, 0.95), rgba(191, 219, 247, 0.35));
}

.projects-grid {
    column-width: 280px;
    column-gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto 2.5rem;
}

@media (max-width: 767px) {
    .projects-grid {
        column-width: 200px;
        max-width: 100%;
    }
}

.project-card {
    display: block;
    width: 100%;
    margin: 0 0 1.5rem;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 32px rgba(2, 27, 42, 0.2);
    background: var(--card-bg, #010f16);
}

.project-card--programacion {
    break-inside: avoid;
    margin: 0 0 2rem;
}

.project-media {
    width: 100%;
    background: #021922;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(2, 42, 47, 0.15);
    aspect-ratio: 16 / 9;
    position: relative;
}

.project-card--musica .project-media {
    aspect-ratio: 3 / 4;
}

.project-media iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.project-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-media img,
.project-card:focus-within .project-media img {
    transform: scale(1.08);
}

.web-project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
    margin-top: 2.5rem;
}

@media (max-width: 900px) {
    .web-project-grid {
        grid-template-columns: 1fr;
    }
}

.web-project-card {
    background: #010f16;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(2, 27, 42, 0.18);
    position: relative;
}

.web-project-media {
    position: relative;
    width: 100%;
    padding-top: 65%;
    overflow: hidden;
}

.web-project-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.web-project-card:hover .web-project-media img,
.web-project-card:focus-within .web-project-media img {
    transform: scale(1.08);
}

.web-project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2,27,42,0.1) 0%, rgba(2,27,42,0.85) 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: #fff;
}

.web-project-tag {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-tertiary);
}

.web-project-overlay h3 {
    margin: 0.5rem 0;
}

.web-project-meta {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.85rem;
}

.web-project-meta li::before {
    content: "•";
    margin-right: 0.35rem;
    color: var(--color-tertiary);
}

.web-project-overlay a {
    align-self: flex-start;
    margin-top: 1rem;
    padding: 0.45rem 1.2rem;
    border-radius: 999px;
    background: var(--color-secondary);
    color: #fff;
    font-weight: 600;
}

.project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(2, 27, 42, 0) 30%, rgba(2, 27, 42, 0.85) 70%, rgba(2, 27, 42, 0.95) 95%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.project-card:hover .project-overlay,
.project-card:focus-within .project-overlay {
    opacity: 1;
    pointer-events: auto;
}

.project-card:hover .project-media img,
.project-card:focus-within .project-media img {
    filter: brightness(0.55);
}

.project-card h3,
.project-card p,
.project-card ul li,
.project-tag,
.project-overlay a {
    color: #ffffff;
}

.project-overlay a {
    pointer-events: auto;
    font-weight: 600;
    color: var(--color-tertiary);
}

.project-overlay p {
    margin: 0.35rem 0 0;
}


.project-card ul {
    padding-left: 1.1rem;
    margin: 0.35rem 0 0;
    color: #f9f9f9;
    font-size: 0.85rem;
}

.project-card a {
    font-weight: 600;
    margin-top: auto;
}

.project-tag {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-secondary);
}


#portfolio h2 {
    text-align: center;
    margin-bottom: 1rem;
}

#portfolio h2::after {
    display: none;
}

.section-lead {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
    color: var(--color-muted);
}

.session-pricing {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.pricing-card {
    background: linear-gradient(145deg, rgba(191, 219, 247, 0.65), rgba(225, 229, 242, 0.95));
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 20px 45px rgba(2, 27, 42, 0.12);
}

.pricing-label {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    color: var(--color-secondary);
    margin-bottom: 0.75rem;
}

.pricing-card h3 {
    margin: 0.2rem 0 0.75rem;
    font-size: 2rem;
}

.pricing-value {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 1rem 0;
}

.pricing-card small {
    display: block;
    color: var(--color-muted);
    margin-top: 0.5rem;
}

.portfolio-grid {
    column-width: 280px;
    column-gap: 1.25rem;
    margin-top: 1.5rem;
}

.portfolio-item {
    position: relative;
    margin-bottom: 1.25rem;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(2, 27, 42, 0.18);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.portfolio-item:hover img,
.portfolio-item:focus-within img {
    transform: scale(1.05);
}

.portfolio-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(2, 27, 42, 0.85) 90%);
}

.portfolio-caption {
    position: absolute;
    inset: auto 0 0;
    padding: 1rem 1.25rem;
    color: #fff;
    z-index: 1;
}

.portfolio-caption h3 {
    margin: 0 0 0.35rem;
}

.portfolio-caption a {
    color: var(--color-tertiary);
    font-weight: 600;
}

.studio-gallery {
    background: #fff;
}

.studio-collage {
    column-width: 280px;
    column-gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto 2.5rem;
}

.collage-item {
    position: relative;
    display: block;
    break-inside: avoid;
    margin: 0 0 1.5rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 32px rgba(2, 27, 42, 0.2);
    background: #010f16;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collage-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.collage-item:hover,
.collage-item:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(2, 27, 42, 0.25);
}

@media (max-width: 768px) {
    .studio-collage {
        column-width: 200px;
        column-gap: 1rem;
        margin-bottom: 2rem;
    }

    .collage-item {
        border-radius: 16px;
    }
}

.collage-modal {
    position: fixed;
    inset: 0;
    background: rgba(1, 12, 20, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.collage-modal.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.collage-modal__content {
    position: relative;
    max-width: min(900px, 90vw);
    max-height: 90vh;
    background: #010f16;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
}

.collage-modal__image {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    background: #000;
}

.collage-modal__caption {
    margin: 0;
    padding: 1rem 1.5rem;
    color: #f4fbff;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.collage-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.collage-modal__close:hover,
.collage-modal__close:focus {
    background: rgba(255, 255, 255, 0.2);
}

#contact-form {
    background: linear-gradient(180deg, rgba(196, 255, 249, 0.4), rgba(7, 190, 184, 0.08));
}

#contact-form .container {
    max-width: 1400px;
    margin: 0 auto;
}

.spotify-gallery {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}


.youtube-gallery {
    margin-top: 2rem;
}

.video-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 1.5rem;
}

.video-item iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 360px;
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(2, 27, 42, 0.18);
}

.video-item {
    position: relative;
}

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

    .video-item iframe {
        min-height: 220px;
    }
}

@media (max-width: 480px) {
    .video-item iframe {
        min-height: 190px;
        border-radius: 14px;
    }
}

footer {
    background-color: var(--color-dark);
    color: #f5fffe;
    text-align: center;
    padding: 2rem;
}

.contact-wrapper {
    background: rgba(191, 219, 247, 0.4);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(2, 27, 42, 0.12);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.contact-copy ul {
    padding-left: 1.2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.25rem 0;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.5rem 0;
}

.form-field label {
    font-weight: 600;
    color: var(--color-dark);
    letter-spacing: 0.02em;
}

.form-field input,
.form-field textarea {
    border: 1px solid rgba(2, 27, 42, 0.2);
    border-radius: 10px;
    padding: 0.85rem;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
}

.form-status {
    min-height: 1.25rem;
    font-size: 0.95rem;
    color: var(--color-dark);
}

.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 999;
}

.whatsapp-float i {
    font-size: 1.75rem;
}

@media (max-width: 600px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        right: 1rem;
        bottom: 1rem;
    }
}
.project-card--programacion {
    max-width: 100%;
}

.project-card--musica   .project-media iframe {
    min-height: 320px;
}

.project-card--programacion .project-media img {
    min-height: 320px;
    object-position: center;
}

@media (max-width: 540px) {
    .navbar {
        padding: 0.75rem 1.25rem;
        gap: 1rem;
    }

    .logo {
        font-size: 2.4rem;
    }

    section {
        padding: 3.5rem 1.25rem;
    }

    h2 {
        font-size: 2.1rem;
        margin-bottom: 2.25rem;
    }

    #hero,
    #hero-records,
    #hero-estudio,
    #hero-web {
        padding: 3rem 1.25rem;
        background-attachment: scroll;
    }

    #hero h1 {
        font-size: 2.2rem;
        line-height: 1.1;
        word-break: break-word;
        margin-bottom: 1.4rem;
    }

    #hero p {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    #hero-records .hero-content,
    #hero-estudio .hero-content,
    #hero-web .hero-content {
        max-width: 100%;
        padding: 0 0.25rem;
    }

    #about .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }

    #about .about-image {
        order: -1;
    }

    .service-grid,
    #record-services .service-grid,
    #estudio-services .service-grid,
    #web-services .service-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid,
    .portfolio-grid,
    .studio-collage {
        column-count: 1;
        column-width: auto;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 1.25rem;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    .web-project-grid {
        gap: 1.25rem;
    }

    .web-project-meta {
        flex-direction: column;
        gap: 0.35rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        width: calc(100% - 1.5rem);
        right: 0.75rem;
        top: 70px;
    }
}

@media (max-width: 360px) {
    section {
        padding: 3rem 1rem;
    }

    #hero,
    #hero-records,
    #hero-estudio,
    #hero-web {
        padding: 2.5rem 1rem;
    }

    #hero h1 {
        font-size: 1.9rem;
    }

    #hero p {
        font-size: 0.98rem;
    }

    .service-card {
        padding: 1.2rem;
    }

    .contact-wrapper {
        padding: 1rem;
        gap: 1.5rem;
    }

    .projects-grid,
    .portfolio-grid,
    .studio-collage {
        column-gap: 0.85rem;
    }
}
