:root {
    --primary: #0D0D0D;
    --accent: #FF3B00;
    --accent-light: #FF6B3D;
    --surface: #F8F8F6;
    --surface-dark: #E8E8E4;
    --text: #1A1A1A;
    --text-muted: #6B6B6B;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Instrument Sans', sans-serif;
    background: var(--surface);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    width: 100%;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(248, 248, 246, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(13, 13, 13, 0.1);
    animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--accent);
}

nav a {
    margin-left: 2.5rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 3rem 4rem;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
    opacity: 0.05;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    width: 100%;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.5rem, 8vw, 6.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    color: var(--primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero h1 .highlight {
    color: var(--accent);
    display: block;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.7;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.2s both;
}

.btn {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    font-family: 'Instrument Sans', sans-serif;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(255, 59, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 59, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Services Section */
.services {
    padding: 8rem 3rem;
    background: var(--white);
    position: relative;
    width: 100%;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--surface);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(13, 13, 13, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.service-card ul {
    margin-top: 1.5rem;
    list-style: none;
}

.service-card li {
    padding: 0.5rem 0;
    color: var(--text);
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Portfolio Section */
.portfolio {
    padding: 8rem 3rem;
    background: var(--primary);
    color: var(--white);
    width: 100%;
}

.portfolio .section-title {
    color: var(--white);
}

.portfolio .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.portfolio-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    aspect-ratio: 16/10;
    background: var(--surface-dark);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255, 59, 0, 0.9), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover::after {
    opacity: 1;
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 1;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info h4 {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* Process Section */
.process {
    padding: 8rem 3rem;
    background: var(--surface);
    width: 100%;
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--surface-dark);
    transform: translateX(-50%);
}

.process-step {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.process-content {
    width: 45%;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 10px 30px rgba(13, 13, 13, 0.05);
}

.process-number {
    position: absolute;
    left: 50%;
    top: 2rem;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: 0 0 0 8px var(--surface);
}

.process-content h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.process-content p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 8rem 3rem;
    background: var(--white);
    width: 100%;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.contact-info h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: var(--surface-dark);
    transform: translateX(10px);
}

.contact-method-icon {
    font-size: 2rem;
}

.contact-method-info h4 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-method-info p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

.contact-form {
    background: var(--surface);
    padding: 3rem;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--surface-dark);
    border-radius: 10px;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1rem;
    background: var(--white);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    padding: 1.25rem;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 59, 0, 0.4);
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 3rem 2rem;
    width: 100%;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-brand span {
    color: var(--accent);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links h4 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    margin: 2rem auto;
    max-width: 600px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ============================================
   RESPONSIVE DESIGN - OPTIMIZADO PARA MÓVIL
   ============================================ */

/* Tablets y pantallas medianas (hasta 968px) */
@media (max-width: 968px) {
    header {
        padding: 1.2rem 1.5rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    nav {
        display: none;
    }

    .hero {
        padding: 5rem 1.5rem 3rem;
        min-height: 90vh;
    }

    .hero::before {
        width: 80%;
        clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    }

    .hero h1 {
        font-size: clamp(2rem, 9vw, 3.5rem);
        line-height: 1.15;
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .services, .portfolio, .process, .contact {
        padding: 4rem 1.5rem;
    }

    .section-title {
        font-size: clamp(2rem, 7vw, 3rem);
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
        padding: 0 0.5rem;
    }

    .services-grid {
        gap: 2rem;
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 2.5rem 2rem;
    }

    .service-card h3 {
        font-size: 1.5rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio-item {
        min-height: 250px;
        aspect-ratio: 16/9;
    }

    /* Portfolio siempre visible en móvil */
    .portfolio-item::after {
        opacity: 1;
    }

    .portfolio-info {
        transform: translateY(0);
        padding: 1.5rem;
    }

    .portfolio-info h4 {
        font-size: 1.3rem;
    }

    .portfolio-info p {
        font-size: 0.9rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info h2 {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }

    .contact-info p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .contact-method {
        padding: 1.2rem;
    }

    .contact-method:hover {
        transform: translateX(5px);
    }

    .contact-form {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        margin-bottom: 1rem;
    }

    /* Proceso en móvil */
    .process-timeline::before {
        left: 30px;
    }

    .process-step {
        flex-direction: column !important;
        margin-bottom: 3rem;
    }

    .process-content {
        width: 100%;
        margin-left: 60px;
        padding: 2rem;
    }

    .process-number {
        left: 30px;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        box-shadow: 0 0 0 6px var(--surface);
    }

    .process-content h3 {
        font-size: 1.3rem;
    }
}

/* Móviles (hasta 640px) - CORREGIDO PARA EVITAR CORTES */
@media (max-width: 640px) {
    /* Asegurar que nada se salga de la pantalla */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    header {
        padding: 1rem 1rem;
        width: 100%;
    }

    .logo {
        font-size: 1.2rem;
        max-width: calc(100% - 20px);
    }

    .hero {
        padding: 4rem 1rem 2rem;
        width: 100%;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 11vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 1rem;
        /* IMPORTANTE: Evitar que el texto se corte */
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        width: 100%;
        max-width: 100%;
        padding-right: 0;
    }

    .hero h1 .highlight {
        word-break: break-word;
        overflow-wrap: break-word;
        width: 100%;
        max-width: 100%;
    }

    .hero p {
        font-size: 0.95rem;
        line-height: 1.6;
        width: 100%;
        max-width: 100%;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    .services, .portfolio, .process, .contact {
        padding: 3rem 1rem;
        width: 100%;
    }

    .section-title {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
        padding: 0 0.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }

    .service-card {
        padding: 2rem 1.5rem;
        width: 100%;
    }

    .service-card h3 {
        font-size: 1.35rem;
    }

    .service-icon {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .service-card li {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }

    .portfolio-grid {
        width: 100%;
    }

    .portfolio-item {
        min-height: 220px;
        border-radius: 12px;
        width: 100%;
    }

    .portfolio-info {
        padding: 1.25rem;
    }

    .portfolio-info h4 {
        font-size: 1.15rem;
    }

    .portfolio-info p {
        font-size: 0.85rem;
    }

    .process-content {
        margin-left: 50px;
        padding: 1.75rem 1.25rem;
        width: calc(100% - 50px);
    }

    .process-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        left: 25px;
        box-shadow: 0 0 0 5px var(--surface);
    }

    .process-timeline::before {
        left: 25px;
    }

    .process-content h3 {
        font-size: 1.15rem;
    }

    .process-content p {
        font-size: 0.9rem;
    }

    .contact-container {
        gap: 2.5rem;
        width: 100%;
    }

    .contact-info {
        width: 100%;
    }

    .contact-info h2 {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
        margin-bottom: 1rem;
    }

    .contact-info p {
        font-size: 0.9rem;
    }

    .contact-method {
        padding: 1rem;
        gap: 1rem;
        width: 100%;
    }

    .contact-method-icon {
        font-size: 1.75rem;
        flex-shrink: 0;
    }

    .contact-method-info h4 {
        font-size: 0.9rem;
    }

    .contact-method-info p {
        font-size: 0.85rem;
        word-break: break-word;
    }

    .contact-form {
        padding: 1.75rem 1.25rem;
        border-radius: 15px;
        width: 100%;
    }

    .form-group {
        margin-bottom: 1.5rem;
        width: 100%;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
        width: 100%;
    }

    .form-group textarea {
        min-height: 120px;
    }

    .submit-btn {
        padding: 1.1rem;
        font-size: 1rem;
        width: 100%;
    }

    footer {
        padding: 3rem 1rem 1.5rem;
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
        width: 100%;
    }

    .footer-brand h3 {
        font-size: 1.4rem;
    }

    .footer-brand p {
        font-size: 0.9rem;
    }

    .footer-links h4 {
        font-size: 1.05rem;
        margin-bottom: 1rem;
    }

    .footer-links li {
        margin-bottom: 0.6rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.85rem;
    }

    .alert {
        padding: 0.9rem 1rem;
        font-size: 0.85rem;
        margin: 1.5rem 0.5rem;
        width: calc(100% - 1rem);
    }
}

/* Móviles muy pequeños (hasta 375px) */
@media (max-width: 375px) {
    .logo {
        font-size: 1.1rem;
    }

    .hero {
        padding: 3.5rem 0.75rem 2rem;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 12vw, 2rem);
        padding-right: 0;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .services, .portfolio, .process, .contact {
        padding: 2.5rem 0.75rem;
    }

    .service-card,
    .contact-form {
        padding: 1.5rem 1rem;
    }

    .section-title {
        font-size: clamp(1.5rem, 9vw, 2rem);
    }

    .process-content {
        margin-left: 45px;
        padding: 1.5rem 1rem;
        width: calc(100% - 45px);
    }

    .process-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        left: 22px;
    }

    .process-timeline::before {
        left: 22px;
    }

    footer {
        padding: 2.5rem 0.75rem 1.25rem;
    }
}

/* Mejoras de touch para móvil */
@media (max-width: 968px) {
    /* Aumentar área de toque */
    .btn,
    .submit-btn {
        min-height: 48px;
    }

    .contact-method,
    .footer-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Desactivar efectos hover en touch */
    .service-card:hover,
    .portfolio-item:hover,
    .btn-primary:hover,
    .btn-secondary:hover,
    .submit-btn:hover {
        transform: none;
    }

    /* Mantener info visible en portfolio móvil */
    .portfolio-item::after {
        opacity: 0.95;
    }
}

/* Modo landscape en móviles */
@media (max-width: 968px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 4rem 1.5rem 2rem;
    }

    .hero h1 {
        font-size: clamp(2rem, 7vw, 2.5rem);
    }
}