/* =====================================================
   FocalRetrofit — Estilos principales
   Tokens al inicio: cambia colores/tipografía desde
   las variables :root sin tocar el resto del archivo.
   ===================================================== */

   :root {
    /* Colores */
    --bg-base: #14161A;
    --bg-panel: #1E2228;
    --bg-panel-raised: #262B33;
    --line: #333A44;
  
    --text-primary: #F4F6FA;
    --text-secondary: #8B97A6;
    --text-muted: #5F6975;
  
    --accent-led: #E8F0FB;      /* blanco-azulado, "luz buena" */
    --accent-led-soft: #7FA8D9;
    --accent-halogen: #FF7A29;  /* ámbar, "luz mala" / contraste */
    --accent-halogen-soft: #C95A1A;
  
    /* Tipografía */
    --font-display: "Barlow Condensed", sans-serif;
    --font-body: "Inter", sans-serif;
  
    /* Layout */
    --container-w: 1180px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
  
    --shadow-soft: 0 20px 50px -20px rgba(0,0,0,0.6);
  }
  
  * { margin: 0; padding: 0; box-sizing: border-box; }

  [hidden] { display: none !important; }
  
  html { scroll-behavior: smooth; }
  
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  }
  
  body {
    background: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  
  img { max-width: 100%; display: block; }
  
  a { color: inherit; text-decoration: none; }
  
  button { font-family: inherit; cursor: pointer; border: none; background: none; }
  
  .container {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
  }
  
  :focus-visible {
    outline: 2px solid var(--accent-led);
    outline-offset: 3px;
  }
  
  .eyebrow {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 13px;
    color: var(--accent-halogen);
    margin-bottom: 12px;
  }
  
  .section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    max-width: 760px;
    margin-bottom: 16px;
  }
  
  .section-subtitle {
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 560px;
    margin-bottom: 48px;
  }
  
  /* ============ BOTONES ============ */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }
  .btn:active { transform: translateY(1px); }
  
  .btn--primary {
    background: var(--accent-led);
    color: #11151A;
  }
  .btn--primary:hover { background: #fff; }
  
  .btn--outline {
    border: 1px solid var(--line);
    color: var(--text-primary);
  }
  .btn--outline:hover { border-color: var(--accent-led); color: var(--accent-led); }
  
  .btn--ghost {
    border: 1px solid var(--line);
    color: var(--text-primary);
    font-size: 14px;
    padding: 10px 20px;
  }
  .btn--ghost:hover { border-color: var(--text-primary); }
  
  .btn--whatsapp {
    background: #25D366;
    color: #0b1f12;
    margin-top: 8px;
  }
  .btn--whatsapp:hover { background: #2fe375; }
  
  /* ============ HEADER ============ */
  .header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(20,22,26,0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  
  .header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
  }
  
  .logo { display: flex; align-items: center; gap: 10px; }
  
  .logo__mark {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent-led);
    color: #11151A;
    font-family: var(--font-display);
    font-weight: 800;
    border-radius: 6px;
    font-size: 18px;
  }
  
  .logo__text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    letter-spacing: 0.04em;
  }
  .logo__accent { color: var(--accent-halogen); }
  
  .nav {
    display: flex;
    gap: 32px;
    font-size: 15px;
    color: var(--text-secondary);
  }
  .nav a:hover { color: var(--text-primary); }
  
  .nav__cta { display: inline-flex; }

  .nav__account-link {
    color: inherit;
    font: inherit;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
  }
  .nav__account-link:hover { color: var(--text-primary); }
  
  .nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
  }
  .nav__toggle span {
    display: block; height: 2px; width: 100%;
    background: var(--text-primary);
    border-radius: 2px;
  }
  
  /* ============ HERO ============ */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 72px;
    background: radial-gradient(circle at 75% 50%, #1a1e25 0%, var(--bg-base) 60%);
  }
  
  .hero__beam {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.9;
  }
  .hero__beam svg { width: 100%; height: 100%; }
  
  .beam-halogen {
    animation: pulseHalogen 5s ease-in-out infinite;
    filter: blur(6px);
  }
  .beam-led {
    animation: sweepLed 6s ease-in-out infinite;
    transform-origin: 700px 700px;
  }
  .cutoff-line {
    animation: sweepLed 6s ease-in-out infinite;
    transform-origin: 700px 700px;
  }
  
  @keyframes pulseHalogen {
    0%, 100% { opacity: 0.5; r: 220; }
    50% { opacity: 0.75; r: 250; }
  }
  @keyframes sweepLed {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-2.5deg); }
  }
  
  .hero__content {
    position: relative;
    z-index: 1;
    max-width: 680px;
  }
  
  .hero__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(40px, 6.5vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
  }
  .hero__title-accent { color: var(--accent-led); }
  
  .hero__subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 36px;
  }
  
  .hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
  
  .hero__hint {
    font-size: 13px;
    color: var(--text-muted);
  }
  
  /* ============ TRUST BAR ============ */
  .trust {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg-panel);
  }
  .trust__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 32px 24px;
  }
  .trust__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
  }
  .trust__num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 30px;
    color: var(--accent-led);
  }
  .trust__label {
    font-size: 13px;
    color: var(--text-secondary);
  }
  
  /* ============ PRODUCTOS ============ */
  .products { padding: 120px 0; }
  
  .filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
  }
  .filter-btn {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 18px;
    transition: all 0.2s ease;
  }
  .filter-btn:hover { border-color: var(--accent-led); color: var(--text-primary); }
  .filter-btn.is-active {
    background: var(--accent-led);
    color: #11151A;
    border-color: var(--accent-led);
  }
  
  .products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .product-card {
    background: var(--bg-panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, transform 0.2s ease;
  }
  .product-card:hover {
    border-color: var(--accent-led-soft);
    transform: translateY(-3px);
  }
  
  .product-card__visual {
    height: 140px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    background: radial-gradient(circle at 30% 30%, rgba(232,240,251,0.25), transparent 60%), var(--bg-panel-raised);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  .product-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .product-card__visual::after {
    content: "";
    position: absolute;
    width: 160%;
    height: 60px;
    background: linear-gradient(90deg, transparent, rgba(232,240,251,0.35), transparent);
    transform: rotate(-15deg);
    top: 50%;
  }
  
  .product-card__badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--accent-halogen);
    color: #1a0e05;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    z-index: 2;
  }
  
  .product-card__category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-halogen);
    margin-bottom: 8px;
  }
  
  .product-card__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 21px;
    margin-bottom: 8px;
  }
  
  .product-card__desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    flex-grow: 1;
  }
  
  .product-card__specs {
    list-style: none;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
  }
  .product-card__specs li {
    padding: 5px 0;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .product-card__specs li::before {
    content: "";
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent-led-soft);
    flex-shrink: 0;
  }
  
  .product-card__footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .product-card__price {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--accent-led);
  }

  .product-card__actions {
    display: flex;
    gap: 10px;
  }

  .product-card__cta,
  .product-card__buy {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    white-space: nowrap;
  }
  .product-card__cta:hover { border-color: var(--accent-led); color: var(--accent-led); }

  .product-card__buy {
    background: var(--accent-led);
    color: #11151A;
    border-color: var(--accent-led);
  }
  .product-card__buy:hover { background: #fff; border-color: #fff; }
  .product-card__buy:disabled { opacity: 0.6; cursor: default; }
  
  /* ============ COMPARADOR ============ */
  .comparator { padding: 0 0 120px; }
  
  .compare {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 8;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    background: #0b0d10;
  }
  
  .compare__layer {
    position: absolute;
    inset: 0;
  }
  
  .compare__scene {
    position: absolute;
    inset: 0;
    background-image:
      repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0px, transparent 1px, transparent 40px),
      linear-gradient(180deg, #1a1d22 0%, #0b0d10 70%);
  }
  
  .compare__scene--after {
    background-image:
      radial-gradient(ellipse 700px 280px at 35% 78%, rgba(232,240,251,0.55), rgba(232,240,251,0.1) 45%, transparent 60%),
      linear-gradient(180deg, #181c22 0%, #0b0d10 70%);
  }
  
  .compare__scene--before {
    background-image:
      radial-gradient(circle 320px at 35% 70%, rgba(255,160,80,0.5), rgba(255,122,41,0.18) 50%, transparent 70%),
      linear-gradient(180deg, #1d1a16 0%, #0b0d10 70%);
  }
  
  .compare__label {
    position: absolute;
    top: 20px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 999px;
    z-index: 3;
  }
  .compare__label--after { right: 20px; background: var(--accent-led); color: #11151A; }
  .compare__label--before { left: 20px; background: var(--accent-halogen); color: #1a0e05; }
  
  .compare__layer--before {
    clip-path: inset(0 50% 0 0);
  }
  
  .compare__slider {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 4;
  }
  
  .compare__handle {
    position: absolute;
    top: 0; bottom: 0;
    width: 3px;
    background: var(--accent-led);
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
  }
  .compare__handle span {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--accent-led);
    color: #11151A;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
  }
  
  /* ============ POR QUÉ NOSOTROS ============ */
  .why { padding: 0 0 120px; }
  
  .why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  
  .why__card {
    background: var(--bg-panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 28px 22px;
  }
  
  .why__icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    background: var(--bg-panel-raised);
    margin-bottom: 18px;
    position: relative;
  }
  .why__icon::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 16px; height: 16px;
    transform: translate(-50%, -50%);
    border: 2px solid var(--accent-led-soft);
    border-radius: 4px;
  }
  
  .why__card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    margin-bottom: 10px;
  }
  .why__card p {
    font-size: 14px;
    color: var(--text-secondary);
  }
  
  /* ============ PROCESO ============ */
  .process { padding: 0 0 120px; }
  
  .process__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
  }
  
  .process__step {
    background: var(--bg-panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 32px 26px;
  }
  
  .process__num {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 15px;
    color: var(--accent-halogen);
    letter-spacing: 0.05em;
    margin-bottom: 16px;
  }
  
  .process__step h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
  }
  .process__step p {
    font-size: 14px;
    color: var(--text-secondary);
  }
  
  /* ============ TESTIMONIOS ============ */
  .testimonials { padding: 0 0 120px; }
  
  .testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .testimonial-card {
    background: var(--bg-panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 26px;
  }
  
  .testimonial-card__stars {
    color: var(--accent-halogen);
    font-size: 14px;
    margin-bottom: 14px;
    letter-spacing: 2px;
  }
  
  .testimonial-card__quote {
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 18px;
  }
  
  .testimonial-card__author {
    font-size: 13px;
    color: var(--text-secondary);
  }
  .testimonial-card__author strong { color: var(--text-primary); }
  
  /* ============ CONTACTO ============ */
  .contact { padding: 0 0 120px; }
  
  .contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }
  
  .contact__copy .section-title,
  .contact__copy .section-subtitle { max-width: 460px; }
  
  .contact__form {
    background: var(--bg-panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  
  .form__row { display: flex; flex-direction: column; gap: 8px; }
  
  .form__row label {
    font-size: 13px;
    color: var(--text-secondary);
  }
  
  .form__row input,
  .form__row textarea {
    background: var(--bg-panel-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    resize: vertical;
  }
  .form__row input:focus,
  .form__row textarea:focus {
    border-color: var(--accent-led);
  }
  
  .form__submit { margin-top: 4px; }
  
  .form__status {
    font-size: 14px;
    color: var(--accent-led);
    min-height: 18px;
  }
  
  /* ============ FOOTER ============ */
  .footer {
    border-top: 1px solid var(--line);
    padding: 56px 0 24px;
  }
  
  .footer__inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 32px;
  }
  
  .footer__brand p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 10px;
    max-width: 240px;
  }
  
  .footer__links, .footer__social {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
  }
  .footer__links a:hover, .footer__social a:hover { color: var(--text-primary); }
  
  .footer__legal {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    font-size: 12px;
    color: var(--text-muted);
  }
  
  /* ============ PORTAFOLIO ============ */
  .portfolio { padding: 0 0 120px; }
  
  .portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .portfolio-card {
    background: var(--bg-panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
  }
  .portfolio-card:hover {
    border-color: var(--accent-led-soft);
    transform: translateY(-4px);
  }
  
  .portfolio-card__thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--bg-panel-raised);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .portfolio-card__thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  .portfolio-card:hover .portfolio-card__thumb img { transform: scale(1.05); }
  
  /* Placeholder cuando no hay foto real */
  .portfolio-card__placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--bg-panel-raised) 0%, #1a2030 100%);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .portfolio-card__placeholder::after {
    content: "📷";
    font-size: 36px;
    opacity: 0.3;
  }
  
  .portfolio-card__tipo {
    position: absolute;
    bottom: 10px; left: 10px;
    background: rgba(20,22,26,0.85);
    backdrop-filter: blur(6px);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-led);
    padding: 5px 12px;
  }
  
  .portfolio-card__body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  
  .portfolio-card__auto {
    font-size: 12px;
    color: var(--accent-halogen);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  
  .portfolio-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
  }
  
  .portfolio-card__desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .portfolio-card__cta {
    margin-top: 14px;
    font-size: 13px;
    color: var(--accent-led-soft);
    font-weight: 500;
  }
  
  /* ============ MODAL DEL PORTAFOLIO ============ */
  .portfolio-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  .portfolio-modal.is-open { display: flex; }
  
  .portfolio-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10,12,15,0.85);
    backdrop-filter: blur(6px);
  }
  
  .portfolio-modal__box {
    position: relative;
    z-index: 1;
    background: var(--bg-panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.7);
  }
  
  .portfolio-modal__close {
    position: absolute;
    top: 16px; right: 16px;
    z-index: 2;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--bg-panel-raised);
    border: 1px solid var(--line);
    color: var(--text-secondary);
    font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    transition: color 0.2s, border-color 0.2s;
  }
  .portfolio-modal__close:hover { color: var(--text-primary); border-color: var(--text-primary); }
  
  .portfolio-modal__images {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    overflow: hidden;
    background: var(--bg-panel-raised);
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-height: 320px;
  }
  .portfolio-modal__images img {
    width: 100%;
    flex: 1;
    object-fit: cover;
    min-height: 0;
  }
  .portfolio-modal__images .modal-placeholder {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-panel-raised) 0%, #1a2030 100%);
    font-size: 48px;
    opacity: 0.3;
  }
  
  .portfolio-modal__info {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .portfolio-modal__tag {
    display: inline-block;
    border: 1px solid var(--accent-led-soft);
    color: var(--accent-led);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    align-self: flex-start;
  }
  
  .portfolio-modal__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 26px;
    line-height: 1.15;
  }
  
  .portfolio-modal__auto {
    font-size: 13px;
    color: var(--accent-halogen);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  
  .portfolio-modal__desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-top: 4px;
  }
  
  .portfolio-modal__items {
    list-style: none;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .portfolio-modal__items li {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }
  .portfolio-modal__items li::before {
    content: "✓";
    color: var(--accent-led-soft);
    font-weight: 700;
    flex-shrink: 0;
  }
  
  .portfolio-modal__info .btn--whatsapp {
    margin-top: 12px;
    align-self: flex-start;
  }

  /* ============ MODAL DE CUENTA ============ */
  .account-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  .account-modal.is-open { display: flex; }

  .account-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10,12,15,0.85);
    backdrop-filter: blur(6px);
  }

  .account-modal__box {
    position: relative;
    z-index: 1;
    background: var(--bg-panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    max-width: 380px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 36px 32px;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.7);
    transition: max-width 0.15s ease;
  }
  .account-modal__box--wide { max-width: 520px; }

  .account-modal__close {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--bg-panel-raised);
    border: 1px solid var(--line);
    color: var(--text-secondary);
    font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    transition: color 0.2s, border-color 0.2s;
  }
  .account-modal__close:hover { color: var(--text-primary); border-color: var(--text-primary); }

  .account-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
  }
  .account-tab {
    flex: 1;
    padding: 8px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
  }
  .account-tab.is-active {
    border-color: var(--accent-led-soft);
    color: var(--text-primary);
  }

  .account-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .account-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .account-field label {
    font-size: 13px;
    color: var(--text-secondary);
  }
  .account-field input,
  .account-field textarea {
    background: var(--bg-panel-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
  }
  .account-field input:focus,
  .account-field textarea:focus {
    outline: none;
    border-color: var(--accent-led-soft);
  }
  .account-field--row {
    flex-direction: row;
    gap: 16px;
  }
  .account-field--row > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .account-status {
    font-size: 13px;
    color: var(--text-secondary);
    min-height: 18px;
  }
  .account-status.is-error { color: var(--accent-halogen); }
  .account-status.is-ok { color: var(--accent-led); }

  .account-modal__greeting { font-size: 16px; margin-bottom: 2px; }
  .account-modal__email { font-size: 13px; color: var(--text-secondary); }

  #accountView-profile { display: flex; flex-direction: column; }

  .account-profile__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
  }

  .account-admin-link { display: block; text-align: center; margin-bottom: 16px; }

  .account-profile-tab { display: block; }

  .account-empty {
    padding: 32px 16px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
  }
  .account-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

  .account-orders {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 320px;
    overflow-y: auto;
  }

  .account-order {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    background: var(--bg-panel-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
  }
  .account-order__info { display: flex; flex-direction: column; gap: 2px; }
  .account-order__info strong { font-size: 14px; }
  .account-order__info span { font-size: 12px; color: var(--text-secondary); }

  .account-order__badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    white-space: nowrap;
    border: 1px solid var(--line);
    color: var(--text-secondary);
  }
  .account-order__badge--pagado { border-color: var(--accent-led-soft); color: var(--accent-led); }
  .account-order__badge--pendiente { border-color: var(--accent-halogen-soft); color: var(--accent-halogen); }
  .account-order__badge--rechazado,
  .account-order__badge--cancelado { border-color: #C94A4A; color: #E88888; }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 1024px) {
    .products__grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
    .why__grid { grid-template-columns: repeat(2, 1fr); }
    .process__steps { grid-template-columns: 1fr; }
    .testimonials__grid { grid-template-columns: 1fr; }
    .contact__inner { grid-template-columns: 1fr; gap: 40px; }
    .trust__inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .portfolio-modal__box { grid-template-columns: 1fr; }
    .portfolio-modal__images { border-radius: var(--radius-lg) var(--radius-lg) 0 0; min-height: 240px; }
  }
  
  @media (max-width: 768px) {
    .nav, .nav__cta { display: none; }
    .nav__toggle { display: flex; }
    .products__grid { grid-template-columns: 1fr; }
    .portfolio__grid { grid-template-columns: 1fr; }
    .why__grid { grid-template-columns: 1fr; }
    .hero__title { font-size: clamp(34px, 9vw, 50px); }
  }
  
  /* Menú móvil abierto */
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--line);
    padding: 20px 24px;
    gap: 18px;
  }