/* === MARUMERU PORTFOLIO — DARK THEME === */

:root {
    --bg: #0a0a0a;
    --bg-alt: #111111;
    --bg-card: #161616;
    --text: #e8e8e8;
    --text-light: #888888;
    --accent: #c43a3a;
    --accent-hover: #d94444;
    --accent-soft: rgba(196, 58, 58, 0.12);
    --border: #222222;
    --shadow: 0 2px 20px rgba(0,0,0,0.3);
    --radius: 12px;
}

/* === CUSTOM FONT — Tipografía de Maru === */
@font-face {
    font-family: 'MaruHand';
    src: url('fonts/Marufont_2-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* === NAV === */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'DM Serif Display', serif;
    font-family: 'MaruHand', cursive;
    font-size: 24px;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
}

.nav-logo span { color: var(--accent); }

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-family: 'MaruHand', cursive;
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 0.5px;
    text-transform: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
    text-shadow: 0 0 8px rgba(196, 58, 58, 0.3);
}

.nav-links a[aria-current="page"] {
    color: var(--accent);
    text-shadow: 0 0 8px rgba(196, 58, 58, 0.2);
}

/* === DROPDOWN === */
.dropdown { position: relative; }

.dropdown-toggle { cursor: pointer; }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 0;
    min-width: 200px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    z-index: 150;
    list-style: none;
}

.dropdown.active .dropdown-menu { display: block; }

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text) !important;
    text-decoration: none;
    font-family: 'MaruHand', cursive !important;
    font-size: 16px !important;
    text-transform: none !important;
    transition: background 0.2s, color 0.2s;
}

.dropdown-menu li a:hover {
    background: var(--accent-soft);
    color: var(--accent) !important;
}

.dropdown-menu li a[aria-current="page"] {
    background: var(--accent-soft);
    color: var(--accent) !important;
}

.dropdown-soon a {
    opacity: 0.4 !important;
    cursor: default !important;
}

/* === HERO === */
.hero {
    min-height: 812px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 0 0;
    text-align: left;
    position: relative;
    background: #0e0e0e;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('img/patron-monstruos.jpg');
    background-size: 500px auto;
    background-position: center;
    opacity: 0.78;
    filter: sepia(0.24) saturate(0.88) contrast(1.08) brightness(0.54);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 20%, rgba(255, 178, 86, 0.26), transparent 24rem),
        radial-gradient(circle at 50% 8%, rgba(221, 138, 62, 0.18), transparent 28rem),
        linear-gradient(90deg, rgba(14, 14, 14, 0.72) 0%, rgba(14, 14, 14, 0.24) 48%, rgba(14, 14, 14, 0.58) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.15) 58%, rgba(0,0,0,0.78) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-shell {
    position: relative;
    z-index: 2;
    width: min(1440px, calc(100% - 64px));
    min-height: 742px;
    display: grid;
    grid-template-columns: minmax(660px, 710px) minmax(640px, 1fr);
    gap: 0;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 4;
    width: min(660px, calc(100vw - 80px));
    max-width: 660px;
    margin-left: clamp(32px, 2.5vw, 46px);
    padding: 46px 44px 42px;
    border: 1px solid rgba(221, 200, 180, 0.08);
    border-radius: 24px;
    background:
        linear-gradient(90deg, rgba(12, 11, 10, 0.72), rgba(12, 11, 10, 0.44) 68%, rgba(12, 11, 10, 0.2)),
        rgba(12, 11, 10, 0.48);
    box-shadow: none;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    transform: translateY(20px);
}

.hero-content::before {
    content: "✦";
    position: absolute;
    top: 28px;
    left: 34px;
    color: #ffd36f;
    font-family: 'MaruHand', cursive;
    font-size: 26px;
    line-height: 1;
    text-shadow: 0 0 18px rgba(255, 188, 76, 0.28);
}

.hero-content::after {
    content: "";
    position: absolute;
    top: 39px;
    left: 92px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffd36f;
    box-shadow: 24px 7px 0 -1px #ffd36f;
    opacity: 0.9;
}

.hero h1 {
    font-family: 'MaruHand', cursive;
    font-size: clamp(46px, 4.05vw, 64px);
    line-height: 1.12;
    margin-bottom: 0;
    letter-spacing: 0;
    color: #ddc8b4;
    text-transform: uppercase;
    text-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

.hero-title-line {
    display: block;
    width: max-content;
    max-width: 100%;
    white-space: nowrap;
}

.hero-title-accent {
    position: relative;
    color: #ef4d49;
    text-shadow: 0 0 22px rgba(196, 58, 58, 0.18);
}

.hero-title-accent::before,
.hero-title-accent::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 36px;
    height: 4px;
    border-radius: 99px;
    background: #ef4d49;
}

.hero-title-accent::before {
    left: -44px;
    transform: rotate(20deg);
    box-shadow: -3px 18px 0 #ef4d49, 0 -18px 0 #ef4d49;
}

.hero-title-accent::after {
    right: -36px;
    transform: rotate(-20deg);
    box-shadow: 5px 18px 0 #ef4d49;
}

.hero-title-last {
    position: relative;
}

.hero-title-last::before {
    content: "";
    position: absolute;
    left: 8px;
    right: 74px;
    bottom: -10px;
    height: 5px;
    border-radius: 99px;
    background: #f0ba47;
    transform: rotate(-2deg);
}

.hero-title-last::after {
    content: "♡";
    position: absolute;
    right: 26px;
    bottom: 4px;
    color: #ef4d49;
    font-size: 0.66em;
    line-height: 1;
}

.hero-lead {
    max-width: 520px;
    margin: 30px 0 0;
    color: rgba(244, 222, 203, 0.9);
    font-size: clamp(14px, 0.95vw, 16px);
    font-weight: 300;
    line-height: 1.58;
    text-wrap: pretty;
}

/* === HERO DOODLE LINK === */
.hero-doodle-link {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 24px;
    background: var(--accent-soft);
    color: var(--accent);
    text-decoration: none;
    border-radius: 50px;
    font-family: 'MaruHand', cursive;
    font-size: 16px;
    border: 1px solid var(--accent);
    transition: all 0.3s;
}

.hero-doodle-link:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-2px);
}

/* === PROJECT SECTION === */
.project-section {
    padding-top: 100px;
    background: var(--bg);
}

.project-header {
    text-align: center;
    margin-bottom: 40px;
}

.project-header h2 {
    font-family: 'MaruHand', cursive;
    font-size: 42px;
    color: #ffffff;
    margin-bottom: 8px;
}

.project-header p {
    font-size: 16px;
    color: var(--text-light);
}

.project-tabs {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    justify-content: center;
}

.proj-tab {
    padding: 8px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-light);
    font-family: 'MaruHand', cursive;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.proj-tab:hover {
    border-color: var(--accent);
    color: var(--text);
}

.proj-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* === PROJECT VIEWER (image + info side by side) === */
.project-viewer {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
    width: 100%;
}

.viewer-image-area {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slideshow {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.slide-container {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.slide-container img.slide-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s;
}

.slide-container img.slide-img:hover {
    transform: scale(1.02);
}

.slide-placeholder {
    text-align: center;
    color: var(--text-light);
    opacity: 0.4;
}

.slide-placeholder span {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

.slide-nav-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 16px;
}

.slide-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.slide-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.slide-counter {
    font-size: 14px;
    color: var(--text-light);
    min-width: 60px;
    text-align: center;
}

/* === ARTWORK INFO PANEL === */
.viewer-info {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.viewer-info h3 {
    font-family: 'MaruHand', cursive;
    font-size: 24px;
    color: var(--text);
    margin-bottom: 20px;
}

.artwork-details {
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.detail-label {
    color: var(--text-light);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    color: var(--text);
    font-size: 14px;
}

.artwork-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* === PROJECT ABOUT === */
.project-about {
    margin-top: 32px;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    grid-column: 1 / 2;
}

.project-about h3 {
    font-family: 'MaruHand', cursive;
    font-size: 22px;
    color: var(--accent);
    margin-bottom: 12px;
}

.project-about p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* === GALERÍA COMPLETA DEL PROYECTO === */
.project-gallery {
    margin-top: 48px;
}

.project-gallery h3 {
    font-family: 'MaruHand', cursive;
    font-size: 24px;
    color: var(--text);
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
}

.gallery-grid-item {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform 0.3s, border-color 0.3s;
    aspect-ratio: 1;
}

.gallery-grid-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.gallery-grid-item.active {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent);
}

.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.back-home {
    display: inline-block;
    margin-top: 32px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

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

.hero-actions,
.hero-buttons {
    position: relative;
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-actions::before {
    content: "";
    position: absolute;
    left: -34px;
    top: -10px;
    width: 23px;
    height: 3px;
    border-radius: 99px;
    background: #f0ba47;
    transform: rotate(24deg);
    box-shadow: 7px 13px 0 #f0ba47, 18px -8px 0 -1px #f0ba47;
}

.hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 62px;
    padding: 0 34px;
    background: #bf564b;
    color: #f1cab8;
    text-decoration: none;
    border: 2px solid #8c463e;
    border-radius: 31px;
    font-size: 19px;
    font-weight: 760;
    letter-spacing: 0;
    text-transform: none;
    overflow: hidden;
    box-shadow: none;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero-cta::before {
    content: none;
}

.hero-cta::after {
    content: none;
}

.hero-cta span {
    display: inline-block;
    color: currentColor;
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 17px;
    line-height: 1;
}

.hero-cta:hover {
    background: #bf564b;
    border-color: #8c463e;
    color: #f1cab8;
}

.hero-cta-outline {
    background: rgba(16, 15, 14, 0.88);
    border-color: #f0ba66;
    color: #f2dfca;
    box-shadow: none;
}

.hero-cta-outline span {
    color: #f0ba66;
    font-size: 22px;
    transform: translateY(-1px);
}

.hero-cta-outline:hover {
    background: rgba(20, 18, 16, 0.92);
    border-color: #f0ba66;
    color: #f2dfca;
}

/* === SECTIONS === */
section {
    padding: 100px 32px;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'DM Serif Display', serif;
    font-family: 'MaruHand', cursive;
    font-size: 42px;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 48px;
    font-weight: 400;
}

/* === ABOUT === */
.about { background: var(--bg-alt); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.about-photo {
    width: 100%;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.about-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.about-photo .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 14px;
}

.about-text h2 {
    font-family: 'MaruHand', cursive;
    font-size: 36px;
    margin-bottom: 20px;
}

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

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.about-tag {
    padding: 6px 16px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
}

/* === PROJECTS GRID === */
.projects { background: var(--bg); }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.project-card {
    display: block;
    text-decoration: none;
    color: var(--text);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.3s, border-color 0.3s;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}

.project-thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-alt);
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.project-card:hover .project-thumb img {
    transform: scale(1.05);
}

.project-thumb .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    opacity: 0.3;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-family: 'MaruHand', cursive;
    font-size: 22px;
    font-weight: normal;
    margin-bottom: 4px;
}

.project-info p {
    font-size: 13px;
    color: var(--text-light);
}

/* === GALLERY GRID === */
.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 16px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    aspect-ratio: 4/5;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-4px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.overlay-title {
    font-weight: 600;
    font-size: 16px;
}

.overlay-desc {
    font-size: 13px;
    opacity: 0.8;
}

/* Placeholder items */
.gallery-placeholder {
    aspect-ratio: 4/5;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 2px dashed rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 14px;
    gap: 8px;
}

.gallery-placeholder .icon {
    font-size: 32px;
    opacity: 0.3;
}

/* === CONTACT === */
.contact { background: var(--bg-alt); }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text);
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(196, 58, 58, 0.2);
}

.contact-icon {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--text-light);
    transition: color 0.3s;
}

.contact-card:hover .contact-icon {
    color: var(--accent);
}

.contact-card h3 {
    font-family: 'MaruHand', cursive;
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 4px;
    color: var(--accent);
}

.contact-card p {
    font-size: 13px;
    color: var(--text-light);
}

/* === BACK LINK === */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

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

/* === FOOTER === */
footer {
    text-align: center;
    padding: 32px;
    font-size: 13px;
    color: var(--text-light);
    border-top: 1px solid var(--border);
}

/* === LIGHTBOX === */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 200;
    align-items: center;
    justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    cursor: pointer;
}

.lightbox img {
    max-width: 80vw;
    max-height: 85vh;
    border-radius: 8px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    z-index: 2;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    z-index: 2;
}

/* === MOBILE === */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        padding: 20px 32px;
        border-bottom: 1px solid var(--border);
        gap: 16px;
    }
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero {
        min-height: auto;
        padding: 92px 20px 38px;
        text-align: left;
    }
    .hero-shell {
        grid-template-columns: 1fr;
        gap: 22px;
        min-height: auto;
    }
    .hero h1 {
        font-size: clamp(30px, 8.35vw, 33px);
        line-height: 1.14;
    }
    .hero-title-line {
        max-width: none;
        white-space: nowrap;
    }
    .hero-title-accent::before,
    .hero-title-accent::after {
        width: 18px;
        height: 3px;
    }
    .hero-title-accent::before {
        left: -22px;
        box-shadow: -2px 10px 0 #ef4d49, 0 -10px 0 #ef4d49;
    }
    .hero-title-accent::after {
        right: -18px;
        box-shadow: 3px 10px 0 #ef4d49;
    }
    .hero-title-last::before {
        right: 52px;
        bottom: -6px;
        height: 4px;
    }
    .hero-title-last::after {
        right: 16px;
        bottom: 2px;
    }
    .hero-lead {
        max-width: 100%;
        margin-top: 24px;
        font-size: 14px;
        line-height: 1.5;
    }
    .hero-content {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        padding: 40px 22px 30px;
        transform: none;
    }
    .gallery { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
    section { padding: 60px 20px; }
    .hero-actions,
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin-top: 24px;
    }
    .hero-cta {
        width: 100%;
        min-height: 56px;
        padding: 0 22px;
        font-size: 17px;
    }
    .hero-cta span { font-size: 15px; }
    .hero-cta-outline span { font-size: 19px; }

    /* Project viewer mobile — stack vertically */
    .project-viewer { grid-template-columns: 1fr; }
    .slideshow { gap: 8px; }
    .slide-btn { width: 36px; height: 36px; font-size: 20px; }
    .slide-container { aspect-ratio: 3/4; }
    .project-header h2 { font-size: 30px; }
    .project-section { padding-top: 80px; }

    /* Dropdown mobile */
    .dropdown-menu {
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 4px 0 4px 16px;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block !important;
    }

    .hero-mascota-full { min-height: 330px; }
    .hero-mascota-img {
        width: min(760px, 112vw);
        max-width: 100% !important;
    }

    /* Lightbox móvil: ocultar flechas, swipe nativo */
    .lightbox-prev, .lightbox-next { display: none !important; }
    .lightbox img { max-width: 95vw; max-height: 90vh; }
}

/* === MASCOTA FULL-WIDTH (estilo Arissa) === */
.hero-mascota-full {
    position: relative;
    z-index: 2;
    min-height: 742px;
    display: grid;
    place-items: end end;
    pointer-events: none;
    align-self: end;
    overflow: visible;
}

.hero-mascota-full::before {
    content: none;
    position: absolute;
    inset: 4px 0 64px 18px;
    z-index: -2;
    border-radius: 0;
    background:
        radial-gradient(circle at 58% 44%, rgba(196, 58, 58, 0.12), transparent 42%),
        linear-gradient(135deg, rgba(232, 216, 190, 0.08), rgba(12, 12, 12, 0));
    filter: blur(1px);
}

.hero-art-wall {
    display: none;
}

.hero-mascota-img {
    width: min(960px, 52vw);
    max-width: none;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: bottom;
    transform: translate(-230px, -8px);
    filter: drop-shadow(0 34px 58px rgba(0, 0, 0, 0.45));
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 7%, #000 15%, #000 100%);
    mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 7%, #000 15%, #000 100%);
}

@media (max-width: 1320px) and (min-width: 769px) {
    .hero-shell {
        width: min(1180px, calc(100% - 48px));
        grid-template-columns: minmax(560px, 620px) minmax(480px, 1fr);
    }

    .hero-content {
        width: min(600px, calc(100vw - 72px));
        max-width: 600px;
        padding: 42px 38px 38px;
    }

    .hero h1 {
        font-size: clamp(42px, 4.6vw, 58px);
    }

    .hero-mascota-img {
        width: min(850px, 54vw);
        transform: translate(-185px, -8px);
    }
}

@media (max-width: 768px) {
    .hero-shell {
        width: 100%;
    }

    .hero-mascota-full { min-height: 330px; }
    .hero-mascota-img {
        width: min(760px, 112vw);
        max-width: 100% !important;
        transform: none;
    }
    .hero-art-wall { inset: 12px 0 52px; }
}

/* === DOODLE BOARD LINK === */
.hero-doodle-link {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 28px;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: 50px;
    font-family: 'MaruHand', cursive;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}

.hero-doodle-link:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

/* === SCROLL REVEAL === */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === FOOTER SIMPÁTICO === */
footer {
    text-align: center;
    padding: 48px 32px;
    font-size: 13px;
    color: var(--text-light);
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
}

footer .footer-cta {
    font-family: 'MaruHand', cursive;
    font-size: 24px;
    color: var(--text);
    margin-bottom: 16px;
}

footer .footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

footer .footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

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

footer .footer-copy {
    font-size: 12px;
    color: #555;
    margin-top: 8px;
}
