/* Hero profile card */
    .hero-profile {
      display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
    }
    .profile-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 20px; padding: 2rem 2rem 1.5rem;
      display: flex; flex-direction: column; align-items: center;
      width: 100%; max-width: 320px;
      box-shadow: 0 0 60px rgba(6,235,212,0.1);
      position: relative;
    }
    .hero-profile {
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .profile-photo-wrap {
      position: relative;
      width: 200px;
      height: 200px;
      margin: 0 auto;
      filter: drop-shadow(0 0 24px rgba(6,235,212,0.35));
    }

    .profile-photo-wrap::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--accent), transparent, var(--accent2));
      animation: rotate 4s linear infinite;
    }
    @keyframes rotate { to { transform: rotate(360deg); } }
    .profile-photo-wrap img {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 190px;
      height: 190px;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid var(--bg);
    }
    .profile-name {
      font-weight: 800; font-size: 1.1rem; text-align: center;
    }
    .profile-handle {
      color: var(--accent); font-size: .85rem; margin-bottom: .75rem;
    }
    .profile-bio {
      font-size: .82rem; color: rgba(255,255,255,0.65);
      text-align: center; margin-bottom: 1.25rem; line-height: 1.5;
    }
    .profile-stats {
      display: grid; grid-template-columns: repeat(3,1fr);
      gap: 0; width: 100%;
      border-top: 1px solid var(--border);
      padding-top: 1rem;
    }
    .stat { text-align: center; }
    .stat-num { font-size: 1.2rem; font-weight: 800; color: var(--accent); }
    .stat-label { font-size: .7rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: .5px; }

    /* Mini grid */
    .mini-grid {
      display: grid; grid-template-columns: repeat(3,1fr);
      gap: 3px; width: 100%; max-width: 320px; border-radius: 12px; overflow: hidden;
    }
    .mini-grid img {
      width: 100%; aspect-ratio: 1; object-fit: cover;
      display: block; transition: transform .3s;
    }
    .mini-grid img:hover { transform: scale(1.05); }

    /* ── STATS BAR ── */
    .stats-bar {
      background: var(--card);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 2rem;
    }
    .stats-bar-inner {
      max-width: 900px; margin: 0 auto;
      display: grid; grid-template-columns: repeat(4,1fr);
      gap: 1rem; text-align: center;
    }
    .sbar-num { font-size: 2rem; font-weight: 900; color: var(--accent); }
    .sbar-label { font-size: .85rem; color: rgba(255,255,255,0.6); }

    /* ── SECTION COMMON ── */
    section { padding: 6rem 2rem; }

    /* ── Servicios ── */
    #servicios { background: var(--bg); }
    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
    }
    .service-card img{
      width:30px;
    }
    .service-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 16px; padding: 2rem;
      transition: border-color .25s, transform .25s, box-shadow .25s;
      cursor: pointer;
      text-decoration: none;
      color: inherit;
      display: block;
    }
    .service-card:hover {
      border-color: var(--accent);
      transform: translateY(-4px);
      box-shadow: 0 12px 40px rgba(6,235,212,0.12);
    }
    .service-icon {
      width: 52px; height: 52px;
      background: rgba(6,235,212,0.1); border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.5rem; margin-bottom: 1.25rem;
      border: 1px solid var(--border);
    }
    .service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
    .service-card p { font-size: .88rem; color: rgba(255,255,255,0.6); line-height: 1.6; }

    /* ── Proyectos Slider ── */
    #galeria { background: var(--bg); overflow: hidden; }

    .projects-slider-outer {
      position: relative;
      width: 100%;
      max-width: 1340px;
      margin: 0 auto;
      padding: 0 1.25rem;
    }

    .projects-slider {
      display: flex;
      gap: 1.25rem;
      overflow-x: scroll;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      cursor: grab;
      padding-bottom: 0.5rem;
    }
    .projects-slider::-webkit-scrollbar { display: none; }
    .projects-slider.is-dragging { cursor: grabbing; scroll-behavior: auto; }

    .project-card {
      flex: 0 0 84%;
      scroll-snap-align: start;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 20px;
      overflow: hidden;
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      transition: border-color .3s, transform .3s, box-shadow .3s;
      position: relative;
      user-select: none;
    }
    .project-card:hover {
      border-color: var(--accent);
      transform: translateY(-4px);
      box-shadow: 0 16px 48px rgba(6,235,212,0.12);
    }

    .pc-img {
      position: relative;
      aspect-ratio: 16 / 10;
      overflow: hidden;
    }
    .pc-img img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
      transition: transform .45s ease;
      pointer-events: none;
    }
    .project-card:hover .pc-img img { transform: scale(1.06); }

    .pc-badge {
      position: absolute;
      top: .85rem; left: .85rem;
      background: rgba(0,0,0,0.72);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid var(--border);
      color: var(--accent);
      font-size: .7rem;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      padding: .28rem .65rem;
      border-radius: 100px;
    }

    .pc-info {
      padding: 1.35rem 1.5rem 1.5rem;
      display: flex;
      flex-direction: column;
      flex: 1;
      gap: .45rem;
    }
    .pc-info h3 {
      font-size: 1rem;
      font-weight: 800;
      line-height: 1.3;
    }
    .pc-info p {
      font-size: .84rem;
      color: rgba(255,255,255,0.55);
      line-height: 1.55;
      flex: 1;
    }
    .pc-arrow {
      font-size: .82rem;
      font-weight: 700;
      color: var(--accent);
      margin-top: .4rem;
      opacity: .75;
      transition: opacity .2s, letter-spacing .2s;
      display: block;
    }
    .project-card:hover .pc-arrow {
      opacity: 1;
      letter-spacing: .3px;
    }

    /* Dots */
    .slider-dots {
      display: flex;
      justify-content: center;
      gap: .5rem;
      margin-top: 1.75rem;
    }
    .slider-dot {
      width: 6px; height: 6px;
      border-radius: 100px;
      background: rgba(255,255,255,0.18);
      border: none; cursor: pointer; padding: 0;
      transition: background .25s, width .3s;
    }
    .slider-dot.active {
      background: var(--accent);
      width: 22px;
    }

    /* Nav arrows (desktop) */
    .slider-btn {
      display: none;
      position: absolute;
      top: 43%;
      transform: translateY(-50%);
      width: 44px; height: 44px;
      border-radius: 50%;
      background: rgba(26,26,26,0.92);
      border: 1px solid var(--border);
      color: var(--text);
      cursor: pointer;
      align-items: center; justify-content: center;
      z-index: 10;
      transition: border-color .2s, background .2s, transform .2s;
      backdrop-filter: blur(8px);
    }
    .slider-btn svg { width: 18px; height: 18px; }
    .slider-btn:hover {
      border-color: var(--accent);
      background: rgba(6,235,212,0.1);
      transform: translateY(calc(-50% - 1px));
    }
    .slider-btn-prev { left: -22px; }
    .slider-btn-next { right: -22px; }

    .gallery-cta { text-align: center; margin-top: 2.25rem; }

    @media (min-width: 640px) {
      .project-card { flex: 0 0 72%; }
    }

    @media (min-width: 900px) {
      .projects-slider-outer { padding: 0 3rem; }
      .project-card { flex: 0 0 calc(33.333% - .85rem); }
      .slider-btn { display: flex; }
    }

    @media (max-width: 640px) {
      .pc-info { padding: 1.1rem 1.25rem 1.25rem; }
      .pc-info h3 { font-size: .95rem; }
    }

    /* ── Por que elegirnos ── */
    #por-que { background: var(--bg2); }
    .why-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 2rem;
    }
    .why-item { display: flex; gap: 1rem; }
    .why-check {
      width: 32px; height: 32px; min-width: 32px;
      background: rgba(6,235,212,0.15); border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      color: var(--accent); font-weight: 900; font-size: 1rem;
      border: 1px solid var(--border);
    }
    .why-item h4 { font-size: .95rem; font-weight: 700; margin-bottom: .3rem; }
    .why-item p { font-size: .85rem; color: rgba(255,255,255,0.6); }

        /* ── FAQS ── */
    .faqs {
      padding: 0 2rem 3.5rem;
    }

    .faqs .footer-faq-cta {
      max-width: 850px;
      margin: 0 auto;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 1.8rem;
      text-align: center;
      transition:
        border-color .25s,
        transform .25s,
        box-shadow .25s;
    }

    .faqs .footer-faq-cta:hover{
      border-color: var(--accent);
      transform: translateY(-2px);
      box-shadow: 0 12px 40px rgba(6,235,212,0.10);
    }

    .faqs .footer-faq-cta p{
      font-size: 1rem;
      color: rgba(255,255,255,0.72);
      margin-bottom: 1rem;
    }

    .faqs .footer-faq-cta a{
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: .9rem 1.4rem;
      border-radius: 12px;
      border: 1px solid var(--accent);
      color: var(--accent);
      text-decoration: none;
      font-weight: 600;
      transition:
        background .25s,
        color .25s,
        transform .25s,
        box-shadow .25s;
    }

    .faqs .footer-faq-cta a:hover{
      background: var(--accent);
      color: #000;
      transform: translateY(-2px);
      box-shadow: 0 10px 30px rgba(6,235,212,0.18);
    }

    /* ── CONTACTO ── */
    #contacto { background: var(--bg); padding-bottom: 2.5rem; }
    .contact-grid {
      display: grid; grid-template-columns: 1fr 1.2fr;
      gap: 4rem; align-items: start;
    }
    .contact-grid > * { min-width: 0; }
    .contact-info h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; }
    .contact-info p { color: rgba(255,255,255,0.6); margin-bottom: 2rem; }
    .contact-item {
      display: flex; align-items: center; gap: 1rem;
      padding: 1rem 0;
      border-bottom: 1px solid rgba(255,255,255,0.07);
    }
    .contact-item:last-of-type { border-bottom: none; }
    .contact-icon {
      width: 40px; height: 40px; min-width: 40px;
      background: rgba(6,235,212,0.1); border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.1rem; border: 1px solid var(--border);
    }
    .contact-icon img{
      width: 27px;
      height: 27px;
      object-fit: contain;
    }
    .contact-label { font-size: .75rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: .5px; }
    .contact-val { font-size: .95rem; font-weight: 600; }
    .contact-val a { color: var(--text); text-decoration: none; }
    .contact-val a:hover { color: var(--accent); }

    /* Formulario */
    .contact-form {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 20px; padding: 2.5rem;
    }
    .contact-form h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 1.5rem; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    .form-group { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }
    .form-group label { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,0.7); }
    .form-group input,
    .form-group textarea,
    .form-group select {
      width: 100%;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 10px; padding: .8rem 1rem;
      color: var(--text); font-size: .9rem;
      transition: border-color .2s;
      outline: none;
      font-family: inherit;
      resize: vertical;
    }
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus { border-color: var(--accent); }
    .form-group select option { background: #1a1a1a; }
    .btn-form {
      width: 100%; background: var(--accent); color: #000;
      padding: .9rem; border: none; border-radius: 10px;
      font-weight: 800; font-size: 1rem; cursor: pointer;
      transition: background .2s, transform .15s;
      margin-top: .5rem;
    }
    .btn-form:hover { background: var(--accent2); transform: translateY(-1px); }

    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      .hero-profile { order: -1; }
      .stats-bar-inner { grid-template-columns: repeat(2,1fr); }
      .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    }
    @media (max-width: 640px) {
      section { padding: 4rem 1.25rem; }
      .contact-grid { gap: 2rem; }
      .contact-form { padding: 1.25rem; }
      .form-row { grid-template-columns: 1fr; }
      .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
      }
      .service-card { padding: 1.25rem; }
      .service-icon { width: 40px; height: 40px; font-size: 1.2rem; margin-bottom: 0.75rem; }
      .service-card h3 { font-size: 0.9rem; }
      .service-card p { font-size: 0.8rem; }
    }

    /* ── Botón flotante "Ver servicios" ── */
    .servicios-float {
      position: fixed;
      bottom: 2rem;
      left: 2rem;
      z-index: 199;
      background: var(--card);
      color: var(--accent);
      border: 1px solid var(--border);
      padding: 0.7rem 1.4rem;
      border-radius: 100px;
      font-weight: 700;
      font-size: 0.9rem;
      text-decoration: none;
      box-shadow: 0 4px 24px rgba(0,0,0,0.5);
      opacity: 0;
      pointer-events: none;
      transform: translateY(10px);
      transition: opacity 0.3s ease, transform 0.3s ease;
      white-space: nowrap;
    }
    .servicios-float.visible {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }
    .servicios-float:hover {
      background: rgba(6,235,212,0.12);
      border-color: var(--accent);
    }
    @media (max-width: 640px) {
      .servicios-float {
        bottom: 2rem;
        left: 2rem;
        font-size: 0.85rem;
        padding: 0.65rem 1.2rem;
      }
    }
