/* ============================================================
   RESET & BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Tipografía Apple — SF Pro vía system-ui */
:root {
    --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text',
            'Helvetica Neue', Arial, sans-serif;

    /* Paleta central: Charcoal → Dark Copper */
    --bg-deep:       #1c1c1e;
    --bg-mid:        #252523;
    --bg-warm:       #2e2318;
    --charcoal:      #1c1c1e;
    --charcoal-mid:  #2c2c2e;
    --charcoal-soft: #3a3a3c;

    /* Plata / acero (del logo) */
    --steel-dark:    #555355;
    --steel-mid:     #7a7573;
    --steel-light:   #aeaaaa;

    /* Cobre / rose-gold (del logo) */
    --copper:        #c8916a;
    --copper-bright: #e0a87c;
    --copper-deep:   #a06840;
    --copper-glow:   rgba(200, 145, 106, 0.55);

    /* Texto */
    --text-primary:  rgba(255, 255, 255, 0.92);
    --text-secondary:rgba(255, 255, 255, 0.55);
    --text-muted:    rgba(255, 255, 255, 0.35);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    line-height: 1.65;
    color: var(--text-primary);
    /*
     * Fondo más vivo: medianoche azul-índigo en las sombras frías,
     * cobre oscuro cálido en las sombras cálidas → tensión visual que
     * se siente oscuro pero activo, no neutro
     */
    background:
        radial-gradient(ellipse at 15% 85%, rgba(96, 52, 18, 0.38) 0%, transparent 52%),
        radial-gradient(ellipse at 85% 12%, rgba(28, 24, 52, 0.42) 0%, transparent 52%),
        radial-gradient(ellipse at 50% 50%, rgba(36, 28, 22, 0.30) 0%, transparent 70%),
        linear-gradient(162deg, #101018 0%, #181420 38%, #1e1610 68%, #221408 100%);
    background-attachment: fixed;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   HEADER — Liquid Glass con tono del logo (gris acero + cobre)
   ============================================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;

    /* Gradiente extraído del fondo del logo1.jpeg: gris acero frío → cobre cálido */
    background: linear-gradient(
        135deg,
        rgba(82, 80, 82, 0.20)  0%,
        rgba(112, 107, 104, 0.15) 45%,
        rgba(148, 112, 78, 0.12) 100%
    );
    backdrop-filter: blur(28px) saturate(200%) brightness(1.12) contrast(1.04);
    -webkit-backdrop-filter: blur(28px) saturate(200%) brightness(1.12) contrast(1.04);

    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow:
        0 4px 40px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 0 80px rgba(255, 255, 255, 0.03);

    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2.5rem;
    height: 120px;
    gap: 1.5rem;
    transition:
        height   0.4s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.4s ease,
        box-shadow 0.4s ease;
}

header.scrolled {
    height: 60px;
    background: linear-gradient(
        135deg,
        rgba(72, 70, 72, 0.28)  0%,
        rgba(100, 96, 92, 0.20) 45%,
        rgba(138, 102, 68, 0.16) 100%
    );
    backdrop-filter: blur(36px) saturate(220%) brightness(1.14) contrast(1.05);
    -webkit-backdrop-filter: blur(36px) saturate(220%) brightness(1.14) contrast(1.05);
    box-shadow:
        0 8px 48px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 0 60px rgba(255, 255, 255, 0.04);
}

/* ---- Logo flotante con esquinas redondeadas y brillo elegante ---- */
.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Wrapper que da el efecto "flota sobre la cabecera" */
.logo-wrapper {
    border-radius: 14px;
    overflow: hidden;

    /* Borde con brillo elegante */
    border: 1px solid rgba(255, 235, 210, 0.55);
    box-shadow:
        0 10px 32px rgba(0, 0, 0, 0.45),
        0  2px  8px rgba(0, 0, 0, 0.25),
        0  0   18px rgba(220, 180, 140, 0.28),   /* halo cobre suave */
        inset 0  1px 0 rgba(255, 255, 255, 0.60), /* luz superior */
        inset 0 -1px 0 rgba(255, 255, 255, 0.18); /* reflejo inferior */

    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

header.scrolled .logo-wrapper {
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.40),
        0  0   14px rgba(220, 180, 140, 0.22),
        inset 0  1px 0 rgba(255, 255, 255, 0.55),
        inset 0 -1px 0 rgba(255, 255, 255, 0.15);
}

.logo {
    height: 92px;
    width: auto;
    object-fit: cover;
    display: block;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled .logo {
    height: 46px;
}

/* ---- Nav central en pill ---- */
.main-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-pill {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 50px;
    padding: 0.3rem 0.5rem;
    box-shadow:
        0 2px 14px rgba(0, 0, 0, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.main-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.1rem;
}

.main-nav ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--font);
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: 0.01em;
    display: block;
    padding: 0.52rem 1rem;
    border-radius: 40px;
    transition: background 0.22s ease, color 0.22s ease;
}

.main-nav ul li a:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--copper-bright);
}

/* ---- Botón Pide Presupuesto ---- */
.budget-btn {
    flex-shrink: 0;
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    border: 1px solid rgba(224, 168, 124, 0.50);
    cursor: pointer;
    white-space: nowrap;
    background: linear-gradient(
        135deg,
        rgba(224, 168, 124, 0.88) 0%,
        rgba(192, 128, 72, 0.96) 100%
    );
    color: #fff;
    box-shadow:
        0 0 18px rgba(200, 145, 106, 0.42),
        0 4px 16px rgba(140, 88, 40, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform  0.15s ease;
}

.budget-btn:hover {
    background: linear-gradient(
        135deg,
        rgba(238, 184, 140, 0.95) 0%,
        rgba(208, 146, 88, 1)     100%
    );
    box-shadow:
        0 0 28px rgba(200, 145, 106, 0.62),
        0 6px 22px rgba(140, 88, 40, 0.50),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
    transform: translateY(-1px);
}

.budget-btn:active { transform: translateY(0); }

/* ============================================================
   MODAL PRESUPUESTO
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.60);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-glass {
    background: linear-gradient(
        160deg,
        rgba(42, 40, 42, 0.92) 0%,
        rgba(52, 46, 36, 0.90) 100%
    );
    backdrop-filter: blur(40px) saturate(160%);
    -webkit-backdrop-filter: blur(40px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-glass {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.18);
    color: var(--text-primary);
}

.modal-glass h2 {
    font-family: var(--font);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.form-group label {
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.optional {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font);
    font-size: 0.95rem;
    padding: 0.72rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
}

.form-group select option {
    background: var(--charcoal-mid);
    color: var(--text-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--copper);
    box-shadow: 0 0 0 3px rgba(200, 145, 106, 0.18);
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.submit-btn {
    width: 100%;
    margin-top: 0.6rem;
    padding: 0.88rem;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(224, 168, 124, 0.95) 0%, rgba(180, 112, 52, 1) 100%);
    color: #fff;
    box-shadow:
        0 4px 20px rgba(160, 104, 64, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

.submit-btn:hover {
    background: linear-gradient(135deg, rgba(238, 184, 140, 1) 0%, rgba(196, 130, 68, 1) 100%);
    box-shadow: 0 6px 28px rgba(160, 104, 64, 0.58);
    transform: translateY(-1px);
}

/* ============================================================
   SECCIONES — degradado central Charcoal → Dark Copper
   ============================================================ */
section {
    padding: 3rem 2rem;
    min-height: auto;
    display: flex;
    align-items: center;
    margin-top: 120px;
    /* Separador sutil entre secciones */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hero */
.hero {
    background: transparent;   /* hereda el fondo del body */
    color: var(--text-primary);
    text-align: center;
    margin-top: 0;
    padding-top: 0;
}

.hero-content {
    max-width: 760px;
    margin: 0 auto;
    padding-top: 7rem;
}

.hero-content h1 {
    font-family: var(--font);
    font-size: 3.4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #e8e8ea 0%, var(--copper-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-family: var(--font);
    font-size: 1.15rem;
    font-weight: 400;
    margin-bottom: 1.4rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 0.88rem 2.2rem;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.10);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.20);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.18);
    box-shadow:
        0 0 24px rgba(200, 145, 106, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* Títulos de sección */
.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

h2 {
    font-family: var(--font);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1.4rem;
    color: var(--text-primary);
}

p {
    font-family: var(--font);
    font-size: 1rem;
    color: var(--text-secondary);
}

/* ---- Tarjeta Bio (Sobre mí) ---- */
.bio-card {
    display: flex;
    align-items: center;
    gap: 3rem;
    text-align: left;

    /* Liquid Glass oscuro */
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.055) 0%,
        rgba(200, 145, 106, 0.045) 100%
    );
    backdrop-filter: blur(32px) saturate(150%) brightness(1.06);
    -webkit-backdrop-filter: blur(32px) saturate(150%) brightness(1.06);
    border-radius: 28px;

    /* Borde con brillo cobre-plata */
    border: 1px solid rgba(200, 145, 106, 0.22);
    outline: 1px solid rgba(255, 255, 255, 0.05);
    outline-offset: -1px;

    box-shadow:
        0 32px 72px rgba(0, 0, 0, 0.55),       /* profundidad */
        0  0   60px rgba(100, 60, 20, 0.12),    /* halo cobre ambiental */
        inset 0 1px 0 rgba(255, 255, 255, 0.14),/* línea de luz superior */
        inset 0 -1px 0 rgba(0, 0, 0, 0.20);     /* sombra interior inferior */

    padding: 1.6rem 2rem;
    max-width: 960px;
    margin: 0 auto;
}

.bio-photo-wrap {
    flex-shrink: 0;
    width: 260px;
    height: 310px;
    border-radius: 20px;
    overflow: hidden;

    /* Borde con brillo cálido */
    border: 1px solid rgba(200, 145, 106, 0.35);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.50),
        0  0   24px rgba(160, 100, 50, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.bio-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease;
}

.bio-photo-wrap:hover .bio-photo {
    transform: scale(1.03);
}

.bio-text {
    flex: 1;
}

.bio-text h2 {
    text-align: left;
    margin-bottom: 1.2rem;
}

.bio-text p {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

/* ---- Servicios — sección full width ---- */
.section-services {
    min-height: auto;
    padding: 0;
    margin-top: 120px;   /* empuja bajo la cabecera fija */
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.services-full {
    width: 100%;
    padding: 1.4rem 2rem 1.6rem;
}

/* Banner Servicios — de lado a lado, mismo ancho que el grid */
.services-banner {
    width: 100%;
    margin-bottom: 1.2rem;
    padding: 1.05rem 2.4rem;
    display: flex;
    align-items: center;
    gap: 1.4rem;
    border-radius: 14px;

    /* Liquid Glass */
    background: linear-gradient(
        100deg,
        rgba(255, 255, 255, 0.06)  0%,
        rgba(255, 255, 255, 0.03) 50%,
        rgba(200, 145, 106, 0.05) 100%
    );
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.13);

    /* Brillo: línea de luz en el borde superior */
    box-shadow:
        inset 0  1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -1px 0 rgba(0, 0, 0, 0.18),
        0 6px 28px rgba(0, 0, 0, 0.28),
        0 1px  4px rgba(0, 0, 0, 0.20);
}

.services-banner-label {
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--copper-bright);
    white-space: nowrap;
    flex-shrink: 0;
}

.services-banner-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(200, 145, 106, 0.40) 0%,
        rgba(255, 255, 255, 0.08) 60%,
        transparent 100%
    );
}

.services-banner-sub {
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    width: 100%;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(130%);
    -webkit-backdrop-filter: blur(20px) saturate(130%);
    padding: 1.4rem 1.6rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 145, 106, 0.28);
    box-shadow:
        0 20px 52px rgba(0, 0, 0, 0.42),
        0  0   32px rgba(100, 60, 20, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.4rem;
}

.service-icon {
    font-size: 1.1rem;
    color: var(--copper);
    opacity: 0.85;
    flex-shrink: 0;
}

.service-card h3 {
    font-family: var(--font);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

/* Lista de características */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.72rem;
}

.service-features li {
    font-family: var(--font);
    font-size: 0.93rem;
    color: var(--text-secondary);
    padding-left: 1.1rem;
    position: relative;
    line-height: 1.45;
}

.service-features li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--copper);
    opacity: 0.60;
    font-size: 0.8rem;
    top: 0.05em;
}

.feature-note {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
    padding-left: 0;
}

.price {
    font-family: var(--font);
    font-weight: 700;
    font-size: 1rem;
    color: var(--copper-bright);
    margin-top: 1.6rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* ---- Acordeón de características ---- */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.acc-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.acc-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.acc-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.82rem 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 0.90rem;
    font-weight: 500;
    text-align: left;
    transition: color 0.2s ease;
}

.acc-trigger:hover {
    color: var(--text-primary);
}

.acc-item.open .acc-trigger {
    color: var(--copper-bright);
}

.acc-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--copper);
    opacity: 0.60;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.acc-item.open .acc-icon {
    transform: rotate(180deg);
    opacity: 1;
}

/* Animación expand con grid-template-rows — sin max-height hacks */
.acc-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.acc-item.open .acc-panel {
    grid-template-rows: 1fr;
}

.acc-panel-inner {
    overflow: hidden;
}

.acc-panel-inner p {
    font-size: 0.88rem;
    line-height: 1.70;
    color: var(--text-secondary);
    padding: 0.2rem 0 1rem;
}

/* Contacto */
form {
    max-width: 540px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

label {
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-top: 1.1rem;
}

input, textarea {
    font-family: var(--font);
    font-size: 0.95rem;
    padding: 0.72rem 1rem;
    margin-top: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder, textarea::placeholder {
    color: var(--text-muted);
}

input:focus, textarea:focus {
    border-color: var(--copper);
    box-shadow: 0 0 0 3px rgba(200, 145, 106, 0.18);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

#contacto button[type="submit"] {
    margin-top: 1.4rem;
    padding: 0.88rem;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(224, 168, 124, 0.95) 0%, rgba(180, 112, 52, 1) 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow:
        0 4px 20px rgba(160, 104, 64, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
    transition: background 0.25s ease, transform 0.15s ease;
}

#contacto button[type="submit"]:hover {
    background: linear-gradient(135deg, rgba(238, 184, 140, 1) 0%, rgba(196, 130, 68, 1) 100%);
    transform: translateY(-1px);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    font-family: var(--font);
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.20);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    header {
        padding: 0 1.2rem;
        gap: 0.8rem;
    }

    .logo { height: 68px; }
    header.scrolled .logo { height: 38px; }
    .logo-wrapper { border-radius: 14px; }

    .main-nav { display: none; }

    .budget-btn {
        font-size: 0.78rem;
        padding: 0.5rem 0.9rem;
    }

    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p  { font-size: 1rem; }

    section { padding: 1.5rem 1rem; }

    .section-services { margin-top: 100px; }

    .mockup-card {
        width: 240px;
        height: 150px;
    }

    .reel-card {
        width: 240px;
        height: 165px;
    }

    .mockup-reel { padding: 2.5rem 0; }

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

    .bio-card {
        flex-direction: column;
        padding: 2rem 1.4rem;
        gap: 1.8rem;
        text-align: center;
    }

    .bio-photo-wrap {
        width: 100%;
        height: 260px;
    }

    .bio-text h2 { text-align: center; }

    .form-row { grid-template-columns: 1fr; }
    .modal-glass { padding: 1.8rem 1.4rem; }
}

/* ============================================================
   HERO — rediseño completo
   ============================================================ */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    margin-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

/* Fondo con halo radial cobre centrado */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 50% 60%, rgba(148, 90, 40, 0.18) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 20%, rgba(28, 24, 52, 0.30) 0%, transparent 60%);
    pointer-events: none;
}

/* Línea decorativa horizontal central */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(200, 145, 106, 0.25) 30%,
        rgba(200, 145, 106, 0.25) 70%,
        transparent 100%
    );
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    padding: 11rem 0 1rem;
}

/* Eyebrow */
.hero-eyebrow {
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--copper);
    opacity: 0.75;
    margin: 0;
}

/* Titular */
.hero-h1 {
    font-family: var(--font);
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.08;
    color: var(--text-primary);
    margin: 0;
}

.hero-h1 em {
    font-style: normal;
    background: linear-gradient(
        120deg,
        var(--steel-light) 0%,
        var(--copper-bright) 55%,
        var(--copper) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtítulo */
.hero-sub {
    font-family: var(--font);
    font-size: clamp(1rem, 2vw, 1.18rem);
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 1.2rem 0 0;
}

/* CTAs */
.hero-ctas {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-cta-primary {
    display: inline-block;
    padding: 0.88rem 2.2rem;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(224, 168, 124, 0.90) 0%, rgba(180, 110, 50, 0.98) 100%);
    color: #fff;
    border: 1px solid rgba(224, 168, 124, 0.40);
    box-shadow:
        0 0 22px rgba(200, 145, 106, 0.38),
        0 4px 16px rgba(140, 80, 30, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

.hero-cta-primary:hover {
    background: linear-gradient(135deg, rgba(238, 184, 140, 0.96) 0%, rgba(200, 128, 68, 1) 100%);
    box-shadow:
        0 0 32px rgba(200, 145, 106, 0.55),
        0 6px 22px rgba(140, 80, 30, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.38);
    transform: translateY(-2px);
}

.hero-cta-secondary {
    font-family: var(--font);
    font-size: 0.90rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.hero-cta-secondary:hover {
    color: var(--copper-bright);
}

/* Tres pills diferenciadores */
.hero-pills {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.2rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.22);
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.hero-pill:hover {
    border-color: rgba(200, 145, 106, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 6px 22px rgba(0, 0, 0, 0.28),
        0 0 16px rgba(200, 145, 106, 0.10);
}

.hero-pill svg {
    width: 16px;
    height: 16px;
    color: var(--copper);
    opacity: 0.85;
    flex-shrink: 0;
}

.hero-pill span {
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* ============================================================
   MOCKUP REEL — carrusel horizontal infinito
   ============================================================ */
@keyframes reel-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.mockup-reel {
    width: 100%;
    overflow: hidden;
    padding: 1rem 0 1.4rem;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);

    /* Fade en bordes izquierdo y derecho */
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0,0,0,0.6) 6%,
        black 14%,
        black 86%,
        rgba(0,0,0,0.6) 94%,
        transparent 100%
    );
    mask-image: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0,0,0,0.6) 6%,
        black 14%,
        black 86%,
        rgba(0,0,0,0.6) 94%,
        transparent 100%
    );
}

.reel-track {
    display: flex;
    width: max-content;
    animation: reel-scroll 38s linear infinite;
    will-change: transform;
}

/* Pausa al hacer hover sobre cualquier tarjeta */
.reel-track:hover {
    animation-play-state: paused;
}

.reel-set {
    display: flex;
    gap: 1.4rem;
    padding-right: 1.4rem; /* gap entre las dos copias */
    flex-shrink: 0;
}

.mockup-card {
    flex-shrink: 0;
    width: 320px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.45),
        0 2px  8px rgba(0,0,0,0.30),
        0 0   20px rgba(0,0,0,0.20);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.mockup-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 18px 48px rgba(0,0,0,0.55),
        0  4px 12px rgba(0,0,0,0.35),
        0  0   30px rgba(200,145,106,0.12);
}

.mockup-card svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Tarjetas de imagen real */
.reel-card {
    flex-shrink: 0;
    width: 320px;
    height: 220px;
    border-radius: 12px;
    position: relative;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.45),
        0 2px  8px rgba(0,0,0,0.30),
        0 0   20px rgba(200, 145, 106, 0.16);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reel-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;   /* la imagen recorta sus propias esquinas */
}

/* Borde brillante encima de la imagen — z-index explícito */
.reel-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    z-index: 2;
    pointer-events: none;
    border: 1.5px solid rgba(255, 210, 160, 0.55);
    box-shadow:
        inset 0  1px 0   rgba(255, 255, 255, 0.55),
        inset 0 -1px 0   rgba(255, 255, 255, 0.12),
        inset 1px 0 0    rgba(255, 255, 255, 0.12);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.reel-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 18px 48px rgba(0,0,0,0.55),
        0  4px 12px rgba(0,0,0,0.35),
        0  0   32px rgba(200, 145, 106, 0.36);
}

.reel-card:hover::after {
    border-color: rgba(255, 210, 140, 0.80);
    box-shadow:
        inset 0  1px 0   rgba(255, 255, 255, 0.75),
        inset 0 -1px 0   rgba(255, 255, 255, 0.20),
        inset 1px 0 0    rgba(255, 255, 255, 0.20);
}

/* Responsive hero */
@media (max-width: 768px) {
    .hero-inner {
        gap: 2rem;
        padding: 9rem 0 1rem;
    }

    .hero-h1 { letter-spacing: -0.03em; }

    .hero-ctas { gap: 1.2rem; }

    .hero-pills { gap: 0.6rem; }

    .hero-pill {
        padding: 0.55rem 1rem;
    }

    .hero-pill span { font-size: 0.78rem; }
}

/* ============================================================
   PROCESO DE TRABAJO
   ============================================================ */
.section-proceso {
    padding: 2rem 0;
}

.proceso-steps {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
    padding: 0 2rem;
    margin-top: 3rem;
}

.proceso-step {
    position: relative;
    flex: 1;
    min-width: 160px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.2rem 4rem;
    border-radius: 20px;
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(200, 145, 106, 0.04) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.proceso-step:hover {
    transform: translateY(-4px);
    box-shadow:
        0 10px 36px rgba(0, 0, 0, 0.30),
        0 0 18px rgba(200, 145, 106, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.paso-numero {
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
    opacity: 0.07;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.paso-icon {
    position: relative;
    z-index: 1;
    width: 36px;
    height: 36px;
    color: var(--copper-bright);
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.proceso-step h3 {
    position: relative;
    z-index: 1;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    letter-spacing: 0.01em;
}

.proceso-step p {
    position: relative;
    z-index: 1;
    font-family: var(--font);
    font-size: 0.80rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.paso-conector {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.20);
    align-self: center;
    flex-shrink: 0;
    user-select: none;
}

/* Responsive — móvil */
@media (max-width: 768px) {
    .proceso-steps {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .proceso-step {
        width: 100%;
        max-width: 100%;
    }

    .paso-conector {
        display: none;
    }
}

/* ============================================================
   HAMBURGER — visible solo en móvil vía media query
   ============================================================ */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-btn.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.hamburger-btn.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ============================================================
   RESPONSIVE — TABLET  (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {

    /* Padding global de secciones */
    section {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    /* ---- Header ---- */
    header {
        padding: 0 1.2rem;
        height: 70px;
    }

    header.scrolled {
        height: 56px;
    }

    .logo {
        height: 48px;
    }

    header.scrolled .logo {
        height: 38px;
    }

    .hamburger-btn {
        display: flex;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(28, 24, 20, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
        padding: 1.5rem 2rem;
        z-index: 999;
    }

    .main-nav.open {
        display: flex;
    }

    .nav-pill {
        background: transparent;
        border: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        padding: 0;
        width: 100%;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .main-nav ul li a {
        font-size: 1.1rem;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 0;
        width: 100%;
        display: block;
    }

    .main-nav ul li:last-child a {
        border-bottom: none;
    }

    .budget-btn {
        font-size: 0.78rem;
        padding: 0.5rem 1rem;
    }

    /* ---- Carrusel ---- */
    .reel-card {
        width: 220px;
        height: 150px;
    }

    /* ---- Servicios ---- */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-banner {
        flex-direction: column;
        gap: 0.5rem;
    }

    .services-banner-line {
        display: none;
    }

    .service-card {
        max-width: 100%;
        padding: 1.8rem 1.4rem;
    }

    /* ---- Sobre mí ---- */
    .bio-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem 1.4rem;
    }

    .bio-photo-wrap {
        width: 140px;
        height: 140px;
        border-radius: 50%;
        overflow: hidden;
        flex-shrink: 0;
        margin: 0 auto;
    }

    .bio-photo {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        border-radius: 50%;
    }

    .bio-text {
        width: 100%;
    }

    .bio-text h2 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    .bio-text p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* ---- Contacto y Footer ---- */
    #contacto .container,
    footer {
        padding: 2rem 1.2rem;
    }
}

/* ============================================================
   RESPONSIVE — MÓVIL  (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {

    /* ---- Header: solo logo ---- */
    .budget-btn {
        display: none;
    }

    /* ---- Modal ---- */
    .modal-glass {
        padding: 1.8rem 1.2rem;
    }

    .form-row {
        flex-direction: column;
    }
}

/* ============================================================
   SECCIÓN CONTACTO
   ============================================================ */
.section-contacto {
    flex-direction: column;
    align-items: center;
    padding: 6rem 2rem;
}

.contacto-inner {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.contacto-header {
    text-align: center;
}

.contacto-eyebrow {
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--copper-bright);
    margin-bottom: 0.8rem;
}

.contacto-title {
    font-family: var(--font);
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.contacto-sub {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.contacto-card {
    width: 100%;
    background: linear-gradient(
        160deg,
        rgba(42, 40, 42, 0.88) 0%,
        rgba(52, 46, 36, 0.84) 100%
    );
    backdrop-filter: blur(40px) saturate(160%);
    -webkit-backdrop-filter: blur(40px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.40),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    padding: 2.5rem;
}

/* Mensaje de éxito */
.contacto-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
    padding: 1rem 0;
}

.contacto-success svg {
    width: 48px;
    height: 48px;
    color: var(--copper-bright);
}

.contacto-success h3 {
    font-family: var(--font);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contacto-success p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contacto-success strong {
    color: var(--copper-bright);
}

.contacto-alt {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.contacto-alt a {
    color: var(--copper-bright);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contacto-alt a:hover {
    color: var(--copper);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 3rem 2rem 1.5rem;
    margin-top: 0;
    min-height: auto;
    display: block;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.footer-logo {
    height: 32px;
    width: auto;
    border-radius: 8px;
    border: 1px solid rgba(255, 235, 210, 0.30);
}

.footer-name {
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.footer-nav {
    display: flex;
    gap: 1.8rem;
    flex-wrap: wrap;
}

.footer-nav a {
    font-family: var(--font);
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--copper-bright);
}

.footer-contact a {
    font-family: var(--font);
    font-size: 0.85rem;
    color: var(--copper-bright);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    max-width: 960px;
    margin: 1.2rem auto 0;
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font);
    font-size: 0.78rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .contacto-title {
        font-size: 2rem;
    }

    .contacto-card {
        padding: 1.8rem 1.4rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer-nav {
        gap: 1.2rem;
    }
}

/* ============================================================
   SECCIÓN PORTAFOLIO
   ============================================================ */
.section-portafolio {
    flex-direction: column;
    align-items: stretch;
}

.portafolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    margin-top: 3rem;
}

/* ---- Tarjeta base ---- */
.porto-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(200, 145, 106, 0.04) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.porto-card--link:hover,
.porto-card--cta:hover {
    transform: translateY(-5px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.32),
        0 0 20px rgba(200, 145, 106, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* ---- Área de imagen ---- */
.porto-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.porto-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.porto-card--link:hover .porto-img-wrap img {
    transform: scale(1.04);
}

/* Overlay hover */
.porto-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.porto-card--link:hover .porto-overlay {
    opacity: 1;
}

/* ---- Placeholder (wip y cta) ---- */
.porto-img-wrap--placeholder {
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.porto-img-wrap--placeholder svg {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
}

.porto-img-wrap--cta {
    background: linear-gradient(
        135deg,
        rgba(200, 145, 106, 0.18) 0%,
        rgba(160, 104, 64, 0.28) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.porto-img-wrap--cta svg {
    width: 52px;
    height: 52px;
    color: var(--copper-bright);
}

/* Badge "En desarrollo" */
.porto-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-family: var(--font);
    font-size: 0.70rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50px;
    padding: 0.25rem 0.7rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ---- Cuerpo de la tarjeta ---- */
.porto-body {
    padding: 1.4rem 1.6rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.porto-tag {
    font-family: var(--font);
    font-size: 0.70rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--copper-bright);
}

.porto-title {
    font-family: var(--font);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.porto-desc {
    font-family: var(--font);
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.porto-cta-link {
    margin-top: 0.6rem;
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--copper-bright);
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.porto-card--cta:hover .porto-cta-link {
    color: var(--copper);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .portafolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   SECCIÓN FAQ
   ============================================================ */
#faq {
    flex-direction: column;
    align-items: center;
    padding: 5rem 2rem;
    gap: 3rem;
}

#faq .section-header {
    text-align: center;
}

#faq .section-header h2 {
    font-family: var(--font);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

#faq .section-subtitle {
    font-family: var(--font);
    font-size: 1rem;
    color: var(--text-secondary);
}

.faq-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.faq-item.active {
    border-color: rgba(200, 145, 106, 0.40);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    gap: 16px;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--copper-bright);
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--copper);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

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

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

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 480px) {
    .faq-question {
        padding: 16px 18px;
    }

    .faq-answer p {
        padding: 0 18px 16px;
    }
}
