/* ============================================
   MAYQUI PERU — Global Styles
   ============================================ */

:root {
    --primary-blue: #140848;
    --accent-yellow: #F0CD22;
    --dark-bg: #0b0426;
    --white: #ffffff;
    --text-gray: #b0a9ca;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-hover: rgba(255, 255, 255, 0.07);
    --success-green: #4aff6e;
}

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

body {
    font-family: 'Josefin Sans', sans-serif;
    background-color: var(--dark-bg);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- HEADER --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 8%;
    background-color: var(--white);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo-container img {
    height: 70px;
    width: auto;
    display: block;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.nav-icon-link svg {
    width: 26px;
    height: 26px;
    fill: var(--primary-blue);
    transition: fill 0.3s ease;
}

.nav-icon-link:hover svg {
    fill: #2b1380;
}

.nav-icon-link:hover {
    transform: scale(1.08);
}

/* --- BACK BUTTON (Internal Pages) --- */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.btn-back:hover {
    color: var(--accent-yellow);
}

.btn-back svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* --- HAMBURGER MENU --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* --- MOBILE MENU --- */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary-blue);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-link {
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 15px 0;
    transition: color 0.3s ease;
    width: 80%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu-link:hover {
    color: var(--accent-yellow);
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    padding-top: 100px;
    position: relative;
    background: radial-gradient(circle at center, #1c0d61 0%, #0b0426 100%);
    overflow: hidden;
}

.hero-watermark {
    position: absolute;
    left: -18%;
    top: 50%;
    transform: translateY(-50%);
    height: 110vh;
    width: auto;
    opacity: 0.05;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    filter: blur(0.5px);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    left: -150%;
    animation: sweepLight 6s infinite ease-in-out;
    z-index: 2;
}

@keyframes sweepLight {
    0% { left: -100%; }
    50% { left: 150%; }
    100% { left: 150%; }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 950px;
}

.hero h1 {
    font-size: 62px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.15;
    animation: fadeInUp 1s ease forwards;
}

.hero h1 span {
    color: var(--accent-yellow);
}

.hero p {
    font-size: 21px;
    color: var(--text-gray);
    max-width: 750px;
    margin: 0 auto 40px auto;
    font-weight: 300;
    animation: fadeInUp 1.2s ease forwards;
}

/* --- HERO INTERNAL (Sub-pages) --- */
.hero-internal {
    padding: 180px 8% 80px 8%;
    background: radial-gradient(circle at top center, #1c0d61 0%, #0b0426 100%);
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-internal::before {
    content: '';
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    left: -150%;
    animation: sweepLight 7s infinite ease-in-out;
    z-index: 2;
}

.hero-internal h1 {
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease forwards;
    position: relative;
    z-index: 3;
}

.hero-internal h1 span {
    color: var(--accent-yellow);
}

.hero-internal p {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-weight: 300;
    animation: fadeInUp 1s ease forwards;
    position: relative;
    z-index: 3;
}

/* --- BADGES --- */
.badge-experience {
    background: rgba(240, 205, 34, 0.07);
    border: 1px solid var(--accent-yellow);
    color: var(--accent-yellow);
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    display: inline-block;
    animation: fadeIn 0.8s ease forwards;
    position: relative;
    z-index: 3;
}

/* --- BUTTONS --- */
.btn-primary {
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
    padding: 16px 45px;
    border: none;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(240, 205, 34, 0.4);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-block;
    position: relative;
    z-index: 3;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(240, 205, 34, 0.6);
    background-color: #ffd726;
}

.btn-card {
    width: 100%;
    text-align: center;
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.portfolio-item:hover .btn-card {
    background-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(20, 8, 72, 0.3);
}

/* --- SECTIONS --- */
section {
    padding: 100px 8%;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 17px;
    max-width: 650px;
    margin: 0 auto 65px auto;
}

/* --- PORTFOLIO GRID --- */
.portfolio-container {
    background-color: #f5f5f7;
}

.portfolio-container .section-title {
    color: #1a1a2e;
}

.portfolio-container .section-subtitle {
    color: #555;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
}

.portfolio-item {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-yellow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-img-box {
    width: 100%;
    height: 230px;
    overflow: hidden;
    background-color: #e8e8e8;
    position: relative;
}

.portfolio-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-item:hover .portfolio-img-box img {
    transform: scale(1.06);
}

.portfolio-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-tag {
    color: var(--accent-yellow);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: inline-block;
}

.portfolio-info h3 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #1a1a2e;
}

.portfolio-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* --- PORTFOLIO GALLERY (Sub-pages) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(20, 8, 72, 0.95) 0%, rgba(20, 8, 72, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: var(--accent-yellow);
    font-size: 22px;
    margin-bottom: 8px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-overlay p {
    color: var(--white);
    font-size: 14px;
    font-weight: 300;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    transition-delay: 0.1s;
}

.gallery-item:hover .gallery-overlay h3,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

/* Light section for gallery */
.gallery-light {
    background: #f5f5f7;
}

/* --- CATALOGO --- */
.catalogo-container {
    background-color: var(--primary-blue);
}

.catalogo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.catalogo-card {
    background: rgba(20, 8, 72, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.catalogo-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-yellow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.catalogo-card-header {
    background: rgba(11, 4, 38, 0.8);
    padding: 25px 20px;
    text-align: center;
    border-bottom: 2px solid var(--accent-yellow);
}

.catalogo-card .codigo-badge {
    display: inline-block;
    background: rgba(240, 205, 34, 0.15);
    border: 1px solid var(--accent-yellow);
    color: var(--accent-yellow);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.catalogo-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--white);
    line-height: 1.3;
}

.catalogo-card .service-price {
    color: var(--accent-yellow);
    font-size: 28px;
    font-weight: 700;
}

.catalogo-card-body {
    padding: 25px 20px;
    flex-grow: 1;
}

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

.service-features li {
    padding: 8px 0;
    padding-left: 22px;
    position: relative;
    color: var(--text-gray);
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    line-height: 1.5;
}

.service-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 700;
}

.no-features {
    color: #666;
    font-style: italic;
    font-size: 13px;
}

.service-extra {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: #a19bc5;
    line-height: 1.6;
}

.catalogo-card-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.btn-elegir {
    display: inline-block;
    width: 100%;
    text-align: center;
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-elegir:hover {
    background-color: #ffd726;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(240, 205, 34, 0.4);
}

.catalogo-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
    font-size: 18px;
    grid-column: 1 / -1;
}

.catalogo-loading .spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(240, 205, 34, 0.1);
    border-top-color: var(--accent-yellow);
    border-radius: 50%;
    animation: spin 0.8s ease infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- TESTIMONIALS --- */
.testimonials-container {
    background-color: var(--dark-bg);
    padding: 100px 8%;
}

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

.testimonial-card {
    background: rgba(20, 8, 72, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 35px 30px;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--accent-yellow);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 15px;
    left: 25px;
    font-size: 60px;
    color: var(--accent-yellow);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 18px;
    flex-shrink: 0;
}

.testimonial-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

.testimonial-info p {
    font-size: 13px;
    color: var(--accent-yellow);
}

/* --- FAQ --- */
.faq-container {
    background-color: var(--primary-blue);
    padding: 100px 8%;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(240, 205, 34, 0.3);
}

.faq-item.active {
    border-color: var(--accent-yellow);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: rgba(20, 8, 72, 0.6);
    border: none;
    color: var(--white);
    font-family: 'Josefin Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(20, 8, 72, 0.9);
}

.faq-item.active .faq-question {
    background: rgba(240, 205, 34, 0.1);
    color: var(--accent-yellow);
}

.faq-icon {
    width: 24px;
    height: 24px;
    fill: var(--text-gray);
    transition: transform 0.3s ease, fill 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    fill: var(--accent-yellow);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

/* --- TUTORIALES --- */
.tutoriales-container {
    background-color: #f5f5f7;
    padding: 100px 8%;
}

.tutoriales-container .section-title {
    color: #1a1a2e;
}

.tutoriales-container .section-subtitle {
    color: #555;
}

.tutoriales-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.tutorial-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tutorial-card:hover {
    border-color: var(--accent-yellow);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.tutorial-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
}

.tutorial-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.tutorial-info {
    padding: 20px;
}

.tutorial-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.tutorial-info p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.btn-ver-mas {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-ver-mas:hover {
    color: #b8860b;
    opacity: 0.8;
}

.btn-ver-mas svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-blue);
}

/* --- FORMS --- */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--accent-yellow);
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--white);
    font-family: 'Josefin Sans', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-yellow);
    background-color: rgba(255, 255, 255, 0.08);
}

.form-group select {
    appearance: auto;
    -webkit-appearance: auto;
}

.form-group select option {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 8px;
}

.btn-submit {
    width: 100%;
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #ffd726;
}

/* --- MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 2, 24, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--primary-blue);
    border: 2px solid var(--accent-yellow);
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    animation: scaleUp 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes scaleUp {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: var(--white);
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--accent-yellow);
}

.modal-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--white);
}

.modal-content p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 25px;
}

/* --- TOAST --- */
.toast-notification {
    position: fixed;
    top: 30px;
    right: -350px;
    width: 320px;
    background-color: var(--primary-blue);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 5px solid var(--accent-yellow);
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.show {
    right: 30px;
}

.toast-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-yellow);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.toast-message {
    font-size: 13px;
    color: var(--white);
    line-height: 1.4;
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #25D366;
    border-radius: 50px;
    padding: 10px 20px 10px 12px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-float img.whatsapp-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 50%;
}

.whatsapp-float .whatsapp-text {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

/* --- CTA SECTION --- */
.cta-section {
    background: var(--primary-blue);
    text-align: center;
    padding: 80px 8%;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cta-section p {
    color: var(--text-gray);
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* --- FOOTER --- */
footer {
    background-color: #060218;
    padding: 60px 8% 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo {
    height: 50px;
    margin-bottom: 15px;
}

.footer-brand .footer-tagline {
    color: var(--accent-yellow);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-brand .footer-desc {
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.7;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4,
.footer-social h4 {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-services ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-services li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--accent-yellow);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-gray);
    font-size: 13px;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    fill: var(--accent-yellow);
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-yellow);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-link svg,
.social-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    border-color: var(--accent-yellow);
    background: rgba(240, 205, 34, 0.1);
}

.social-link:hover svg,
.social-link:hover img {
    opacity: 0.75;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    text-align: center;
    font-size: 13px;
    color: var(--text-gray);
}

.footer-bottom .footer-values {
    margin-top: 8px;
    color: #666;
    font-size: 12px;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- CONSTRUCTION PAGES --- */
.construction-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 8% 80px;
    background: radial-gradient(circle at center, #1c0d61 0%, #0b0426 100%);
    position: relative;
    overflow: hidden;
}

.construction-section::before {
    content: '';
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    left: -150%;
    animation: sweepLight 7s infinite ease-in-out;
    z-index: 2;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero-watermark { display: none; }
    .hero h1 { font-size: 44px; }
    header { padding: 12px 4%; }
    .toast-notification { top: 20px; right: -100%; width: calc(100% - 40px); }
    .toast-notification.show { right: 20px; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .mobile-menu { display: flex; }
    .nav-icons { display: none; }
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 18px; }
    .section-title { font-size: 30px; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .tutoriales-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; gap: 30px; }
    .footer-brand { grid-column: auto; }
    .hero-internal h1 { font-size: 36px; }
    .construction-section h1 { font-size: 30px; }
    .construction-section p { font-size: 16px; }
}

@media (max-width: 576px) {
    .hero h1 { font-size: 28px; }
    .section-title { font-size: 26px; }
    .btn-primary { padding: 14px 35px; font-size: 14px; }
    .hero-internal h1 { font-size: 28px; }
    .construction-section h1 { font-size: 24px; }
}

/* --- ABOUT PAGE --- */
.about-hero {
    padding: 160px 8% 80px;
    background: radial-gradient(circle at center, #1c0d61 0%, #0b0426 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.about-text h3 {
    color: var(--accent-yellow);
    font-size: 24px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.about-text p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Light section for about page */
.section-light .about-text h3 {
    color: var(--primary-blue);
}

.section-light .about-text p {
    color: #555;
}

/* Light section - service icon override */
.section-light .service-detail-card .service-icon {
    background: var(--primary-blue);
}

.section-light .service-detail-card .service-icon svg {
    fill: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(20, 8, 72, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-yellow);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-gray);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    background: rgba(20, 8, 72, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 35px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: var(--accent-yellow);
    transform: translateY(-5px);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: rgba(240, 205, 34, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--accent-yellow);
}

.value-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--white);
}

.value-card p {
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.7;
}

/* Light section for value cards */
.section-light .value-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
}

.section-light .value-card h3 {
    color: #1a1a2e;
}

.section-light .value-card p {
    color: #666;
}

.section-light .value-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* --- SERVICE DETAIL CARDS --- */
.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-detail-card {
    background: rgba(20, 8, 72, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 35px 30px;
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    border-color: var(--accent-yellow);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.service-detail-card .service-icon {
    width: 60px;
    height: 60px;
    background: rgba(240, 205, 34, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-detail-card .service-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--accent-yellow);
}

.service-detail-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--white);
}

.service-detail-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
}

.service-detail-card ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.service-detail-card ul li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-gray);
    font-size: 13px;
}

.service-detail-card ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 700;
}

/* --- LIGHT SECTION (for contrast) --- */
.section-light {
    background: #f5f5f7;
    padding: 80px 8%;
}

.section-light .section-title {
    color: #1a1a2e;
}

.section-light .section-subtitle {
    color: #555;
}

.section-light .service-detail-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
}

.section-light .service-detail-card h3 {
    color: #1a1a2e;
}

.section-light .service-detail-card p {
    color: #666;
}

.section-light .service-detail-card ul li {
    color: #666;
}

.section-light .service-detail-card:hover {
    border-color: var(--accent-yellow);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}