/* ============================================
   ARTISTIC PHOTOGRAPHY PORTFOLIO
   Creative & Modern Design
   ============================================ */

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

:root {
    --primary: #0d1117;
    --secondary: #d4663d;
    --accent: #3d7d7d;
    --light: #f5f5f5;
    --dark: #0a0f15;
    --gold: #b89968;
    --spacing: 1rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--primary);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 10px var(--secondary), 0 0 20px var(--accent);
    }
    50% {
        text-shadow: 0 0 20px var(--secondary), 0 0 30px var(--accent);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--secondary);
    padding: 1.5rem 2rem;
    animation: slideInDown 0.6s ease-out;
}

header .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.8rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

header h1:hover {
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--secondary);
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    color: var(--secondary);
}

nav a.active::after {
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    padding: 4rem 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite 2s;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
}

.hero h2 {
    font-size: 3.8rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    animation: slideInUp 0.8s ease-out;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
}

.hero h2 span {
    color: var(--secondary);
    display: block;
    animation: glow 3s ease-in-out infinite 0.3s;
    margin-top: 0.3rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.3rem;
    color: #ccc;
    margin-bottom: 2rem;
    animation: slideInUp 0.8s ease-out 0.2s backwards;
    font-weight: 300;
}

.cta {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    animation: slideInUp 0.8s ease-out 0.4s backwards;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
}

.cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 0, 107, 0.4);
}

.cta:hover::before {
    left: 100%;
}

/* ============================================
   FEATURED SECTION
   ============================================ */

.featured {
    padding: 4rem 2rem;
    background: var(--primary);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    animation: slideInUp 0.8s ease-out;
}

.section-header h2::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

.section-header p {
    color: #999;
    font-size: 1.1rem;
    margin-top: 2rem;
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.gallery {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: var(--dark);
    animation: slideInUp 0.8s ease-out;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover img {
    transform: scale(1.1) rotate(2deg);
    filter: brightness(0.8);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
    z-index: 1;
}

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

.gallery-overlay h3 {
    font-size: 1.5rem;
    text-align: center;
    cursor: pointer;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: 4rem 2rem;
    background: var(--dark);
}

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

.service-card {
    background: linear-gradient(135deg, rgba(255, 0, 107, 0.1), rgba(0, 212, 255, 0.1));
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--secondary);
    transition: all 0.4s ease;
    animation: slideInUp 0.8s ease-out;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(255, 0, 107, 0.15), rgba(0, 212, 255, 0.15));
    box-shadow: 0 20px 40px rgba(255, 0, 107, 0.2);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--accent);
}

.service-card p {
    color: #bbb;
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    color: var(--gold);
    font-weight: 700;
    margin: 1rem 0;
}

.features {
    list-style: none;
    margin: 1rem 0;
}

.features li {
    padding: 0.5rem 0;
    color: #aaa;
    padding-left: 1.5rem;
    position: relative;
}

.features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */

.portfolio {
    padding: 4rem 2rem;
    background: var(--primary);
}

.portfolio-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    animation: slideInUp 0.8s ease-out;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.15) rotate(-2deg);
    filter: saturate(1.3);
}

.portfolio-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
    padding: 2rem 1rem 1rem;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-label {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 4rem 2rem;
    background: var(--dark);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: block;
}

.about-image {
    position: relative;
    height: auto;
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    animation: slideInLeft 0.8s ease-out;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    z-index: -1;
    border-radius: 10px;
}

.about-content {
    animation: slideInRight 0.8s ease-out;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.about-content p {
    color: #aaa;
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 4rem 2rem;
    background: var(--primary);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    animation: slideInLeft 0.8s ease-out;
}

.contact-info {
    animation: slideInRight 0.8s ease-out;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--secondary);
    border-radius: 5px;
    color: var(--light);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--dark);
    border: none;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 0, 107, 0.4);
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h3 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

.info-item p {
    color: #999;
    line-height: 1.8;
}

.info-item a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-item a:hover {
    color: var(--secondary);
}

/* Social Links */
.social-links {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 102, 61, 0.3);
}

.social-links h4 {
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.social-icons {
    display: flex;
    gap: 1.2rem;
    justify-content: flex-start;
}

.social-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(212, 102, 61, 0.1);
    border: 2px solid var(--secondary);
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.social-link-btn i {
    font-size: 1.4rem;
    z-index: 2;
    position: relative;
}

.social-link-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: currentColor;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.social-link-btn:hover::before {
    width: 100%;
    height: 100%;
}

.social-link-btn:hover i {
    color: white;
}

.social-link-btn.whatsapp {
    border-color: #25D366;
    color: #25D366;
}

.social-link-btn.whatsapp::before {
    background: #25D366;
}

.social-link-btn.whatsapp:hover {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    transform: translateY(-4px);
}

.social-link-btn.instagram {
    border-color: #E4405F;
    color: #E4405F;
}

.social-link-btn.instagram::before {
    background: #E4405F;
}

.social-link-btn.instagram:hover {
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.3);
    transform: translateY(-4px);
}

.social-link-btn.tiktok {
    border-color: #000;
    color: #000;
}

.social-link-btn.tiktok::before {
    background: #000;
}

.social-link-btn.tiktok:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

.social-link-btn:hover {
    border-color: currentColor;
}

/* ============================================
   STORY COLLAGE INLINE (En About Section)
   ============================================ */

.collage-grid-small {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.collage-item-small {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--dark);
    cursor: pointer;
    animation: slideInUp 0.8s ease-out;
    min-height: 140px;
}

.collage-item-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: brightness(0.95);
}

.collage-item-small:hover img {
    transform: scale(1.08) rotate(1deg);
    filter: brightness(1.1) contrast(1.1);
}

/* Responsive para collage small */
@media (max-width: 768px) {
    .collage-grid-small {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .collage-grid-small {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   STORY COLLAGE SECTION (DEPRECATED - Kept for reference)
   ============================================ */

.story-collage {
    padding: 4rem 2rem;
    background: var(--primary);
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    grid-auto-rows: 250px;
}

.collage-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--dark);
    cursor: pointer;
    animation: slideInUp 0.8s ease-out;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: brightness(0.95);
}

.collage-item:hover img {
    transform: scale(1.08) rotate(1deg);
    filter: brightness(1.1) contrast(1.1);
}

.collage-item.large-1 {
    grid-column: span 2;
    grid-row: span 2;
}

.collage-item.large-2 {
    grid-column: span 2;
    grid-row: span 2;
}

.collage-item.medium-1 {
    grid-column: span 1;
    grid-row: span 2;
}

.collage-item.medium-2 {
    grid-column: span 1;
    grid-row: span 1;
}

.collage-item.small-1 {
    grid-column: span 1;
    grid-row: span 1;
}

/* Responsive */
@media (max-width: 768px) {
    .collage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        grid-auto-rows: 180px;
    }
    
    .collage-item.large-1,
    .collage-item.large-2 {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .collage-item.medium-1 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 480px) {
    .collage-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    
    .collage-item.large-1,
    .collage-item.large-2,
    .collage-item.medium-1,
    .collage-item.medium-2,
    .collage-item.small-1 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* ============================================
   END STORY COLLAGE
   ============================================ */

/* ============================================
   RESPONSIVE
   ============================================ */

/* ============================================
   RESPONSIVE - TABLET (768px y menor)
   ============================================ */

@media (max-width: 768px) {
    header {
        padding: 1rem 1.5rem;
    }

    header h1 {
        font-size: 1.5rem;
    }

    nav ul {
        gap: 1rem;
        font-size: 0.85rem;
        flex-wrap: wrap;
    }

    .hero {
        min-height: 80vh;
        padding: 3rem 1.5rem;
    }

    .hero h2 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .cta {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .gallery-item {
        height: 200px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .portfolio-item {
        height: 200px;
    }

    .about-container,
    .contact-container {
        display: block;
        padding: 2rem 1.5rem;
    }
    
    .about-container > div {
        display: block !important;
        grid-template-columns: 1fr !important;
    }

    .about-image {
        max-width: 100%;
    }

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

    .section-header p {
        font-size: 1rem;
    }
    
    .collage-grid-small {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .collage-item-small {
        min-height: 120px;
    }

    .contact-form,
    .contact-info {
        margin-bottom: 2rem;
    }

    form {
        padding: 1.5rem;
    }

    .social-icons {
        gap: 1rem;
        justify-content: center;
    }

    .social-link-btn {
        width: 45px;
        height: 45px;
    }

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

    footer {
        padding: 2rem 1.5rem;
    }

    footer p {
        font-size: 0.9rem;
    }
}

/* ============================================
   RESPONSIVE - MOBILE (640px y menor)
   ============================================ */

@media (max-width: 640px) {
    header {
        padding: 1rem 1rem;
    }

    header h1 {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    nav a {
        padding: 0.5rem;
    }

    .hero {
        min-height: 70vh;
        padding: 2rem 1rem;
    }

    .hero h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero h2 span {
        margin-top: 0.2rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .cta {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .featured {
        padding: 2rem 1rem;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-item {
        height: 250px;
    }

    .services {
        padding: 2rem 1rem;
    }

    .services-grid {
        gap: 1rem;
    }

    .service-card {
        padding: 1.2rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .price {
        font-size: 1.8rem;
    }

    .features {
        font-size: 0.9rem;
    }

    .portfolio {
        padding: 2rem 1rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .portfolio-item {
        height: 250px;
    }

    .about {
        padding: 2rem 1rem;
    }

    .about-content h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .about-content p {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

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

    .collage-grid-small {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .collage-item-small {
        min-height: 100px;
    }

    .contact {
        padding: 2rem 1rem;
    }

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

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

    .submit-btn {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .info-item h3 {
        font-size: 0.9rem;
    }

    .info-item p {
        font-size: 0.9rem;
    }

    footer {
        padding: 1.5rem 1rem;
    }

    footer p {
        font-size: 0.85rem;
    }

    footer p:first-of-type {
        margin-top: 0;
    }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE (480px y menor)
   ============================================ */

@media (max-width: 480px) {
    header {
        padding: 0.8rem 0.8rem;
    }

    header h1 {
        font-size: 1.1rem;
        letter-spacing: 1.5px;
    }

    nav ul {
        gap: 0.3rem;
        font-size: 0.75rem;
    }

    nav a {
        padding: 0.3rem 0.5rem;
    }

    .hero {
        min-height: 60vh;
        padding: 1.5rem 0.8rem;
    }

    .hero h2 {
        font-size: 1.6rem;
        line-height: 1.1;
        margin-bottom: 0.8rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .cta {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .featured {
        padding: 1.5rem 0.8rem;
    }

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

    .section-header p {
        font-size: 0.9rem;
    }

    .gallery-item {
        height: 200px;
    }

    .services-grid {
        gap: 0.8rem;
    }

    .service-card {
        padding: 1rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .price {
        font-size: 1.6rem;
    }

    .features li {
        font-size: 0.85rem;
        padding: 0.3rem 0;
    }

    .portfolio-item {
        height: 200px;
    }

    .about-content h2 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    .about-content p {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
        line-height: 1.5;
    }

    .collage-grid-small {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .collage-item-small {
        min-height: 80px;
    }

    .contact {
        padding: 1.5rem 0.8rem;
    }

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

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

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

    .submit-btn {
        padding: 0.7rem;
        font-size: 0.85rem;
    }

    .info-item {
        margin-bottom: 1.5rem;
    }

    .info-item h3 {
        font-size: 0.85rem;
    }

    .info-item p {
        font-size: 0.85rem;
    }

    footer {
        padding: 1rem 0.8rem;
        margin-top: 2rem;
    }

    footer p {
        font-size: 0.8rem;
    }

    footer p:last-of-type {
        margin-top: 0.3rem;
    }
}

/* ============================================
   RESPONSIVE - EXTRA SMALL (360px y menor)
   ============================================ */

@media (max-width: 360px) {
    header h1 {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    nav {
        font-size: 0.7rem;
    }

    nav a {
        padding: 0.2rem 0.4rem;
    }

    .hero h2 {
        font-size: 1.4rem;
    }

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

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

    .price {
        font-size: 1.4rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: linear-gradient(135deg, var(--dark) 0%, rgba(13, 17, 23, 0.95) 100%);
    border-top: 2px solid var(--secondary);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
}

footer p {
    color: #888;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

footer p:hover {
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary);
}

/* ============================================
   END STYLES
   ============================================ */
