/* Base Styles */
:root {
    --primary-color: #f59e0b;
    --primary-dark: #d97706;
    --primary-light: #fcd34d;
    --bg-color-light: #00061d;
    --bg-color-dark: #000518;
    --gray-color: #d4d4d4;
    --text-color: #ffffff;
    --text-muted: #bebebe;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 0.375rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

*:focus {
    outline: none;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Gravitas One";
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    color: var(--primary-color);
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--bg-color-dark);
    box-shadow: var(--shadow);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo {
    font-family: "Gravitas One";
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    animation: apear 500ms ease-in-out;
}

.logo:hover {
    cursor: default;
}

.ampersand {
    font-family: "Gravitas One";
    font-size: .5em;
    padding: 0 .10rem;
}

.logo i {
    color: var(--primary-color);
}

.desktop-nav ul {
    display: flex;
    gap: 1.5rem;
    animation: apear 500ms ease-in-out;
}

.desktop-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    
}

.desktop-nav a:hover {
    color: var(--primary-color);
    transition-duration: 50ms;
}

.menu-toggle {
    color: var(--text-color);
    background: var(--bg-color-dark);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--dark-color);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    animation: apear 500ms ease-in-out;
}

.cta-button:hover {
    background-color: var(--primary-dark);
}

.full-width {
    width: 100%;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 4rem;
    left: 0;
    width: 100%;
    background-color: var(--bg-color-dark);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
    transition: all 200ms;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: all 200ms;
}


.mobile-nav ul {
    margin-bottom: 1.5rem;
}

.mobile-nav li {
    margin-bottom: 1rem;
}

.mobile-nav a {
    display: block;
    font-weight: 500;
}

.mobile-nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    text-align: center;
    background-color: var(--bg-color-dark);
}

.hero-overlay {
    position: absolute;
    background-image: url(../assets/img/estudioImage.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    
    filter:
        brightness(40%)
        blur(5px);

    top: 0;
    left: 0;
    width: 100%;
    height: 85vh;
}

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

.hero h1 {
    font-size: 3.5rem;
    animation: apear 500ms ease-in-out;
}

.hero h1 span {
    font-size: .5em;
    padding: 0 .25rem;
}

.hero .subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--gray-color);
    animation: apear 500ms ease-in-out;
    
}

@keyframes apear {

    from {
        transform: translateY(5rem);
        opacity: 0%;
    }

    50% {
        opacity: 6%;
    }
    
}

@keyframes apear-up {

    from {
        transform: translateY(-5rem);
        opacity: 0%;
    }

    50% {
        opacity: 6%;
    }
    
}

.specialties {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: none;
    gap: 0.5rem;
    margin-bottom: 2rem;
    
}

.specialties a {
    margin-top: 1rem;
    margin-bottom: .25rem;
}

.specialties span {
    border: 1px solid var(--primary-color);
    cursor: pointer;
    place-content: center;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    transition: background 200ms;
    animation: apear 500ms ease-in-out;
}

.specialties span:hover {
    background: var(--primary-color);
}



/* Info Bar */
.info-bar {
    display: flex;
    min-height: 10vh;
    background-color: var(--bg-color-dark);
    color: var(--text-color);
    padding: 1.5rem 0;
    
}

.info-bar .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    animation: apear-up 500ms ease-in-out;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--bg-color-light);
}

.about-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
}

.about-content h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.25rem;
    margin-bottom: 2rem;
}

.about-content p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    text-align: justify;
}

.about-list {
    margin: 1.5rem 0;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.about-list i {
    color: var(--primary-color);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--bg-color-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 400px;
    background-color: var(--bg-color-dark);
    border: solid var(--text-muted) 1px;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all .15s ease-in-out;
}

.service-card:hover {
    filter: drop-shadow(0px 0px 10px var(--primary-color));
    border: solid var(--primary-color) 1px;
    cursor: pointer;
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 0;
    height: 270px;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--text-muted);
}

.service-list {
    overflow: hidden;
    max-height: 0;
    transition: max-height .3s ease-in-out;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.service-list.expanded {
    align-content: start;
    max-height: 3000px;
    height: fit-content;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.service-list i {
    font-size: 0.75rem;
    margin-bottom: 0;
}

.ver-mas {
    margin-bottom: auto;
    width: fit-content;
    height: fit-content;
}

/* Testimonials Section */




.testimonials {
    padding: 5rem 0;
    background: var(--bg-color-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    border: 1px solid var(--text-color);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-image {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.testimonial-text {
    color: var(--text-muted);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--bg-color-light);
    color: var(--light-color);
}

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

.contact-info h2 {
    color: var(--primary-color);
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item i {
    color: var(--primary-color);
}

.contact-form-container {
    background-color: var(--light-color);
    color: var(--text-color);
    border-radius: var(--radius);
    padding: 2rem;
}

.contact-form-container h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.hidden{
    display: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
}

.form-group textarea {
    height: 8rem;
    resize: vertical;
}

/* Footer */
.footer {
    padding: 1.5rem 0;
    background-color: var(--bg-color-dark);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    
}

.footer-logo i {
    color: var(--primary-color);
}

.footer-logo p {
    font-family: "Gravitas One";
}

.copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--bg-color-dark);
    color: var(--text-muted);
    transition: all 200ms;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.avalan-container{
    align-self: center;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-left: 3rem;
}

.avalanLogo{
    padding-left: .15rem;
    padding-bottom: .18rem;
    height: 1.25rem;
}

/* Responsive Styles */

@media (min-width: 850px) {
    .desktop-nav {
        display: block;
    }

    .menu-toggle {
        display: none;
    }

    .mobile-nav {
        display: none !important;
    }

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

    .hero h1 {
        font-size: 4rem;
    }

    .hero .subtitle {
        font-size: 1.75rem;
    }

    .about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

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

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

    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .mobile-only {
        display: none;
    }
}

@media (max-width: 870px) {
    .info-bar .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .desktop-nav,
    .desktop-only {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.25rem;
    }

    .section-header h2 {
        font-size: 1.875rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    .info-bar .container {
        grid-template-columns: 1fr;
    }
}