/* Rafa.dev
   Hoja de estilos unificada.
   Todo el CSS del sitio está aquí; no hay estilos embebidos en index.html.
*/

* {
      box-sizing: border-box
    }

    html {
      scroll-behavior: smooth
    }

    body {
      margin: 0;
      background: #060a11;
      color: #f5f7fb;
      font-family: Inter, Arial, sans-serif;
      line-height: 1.6
    }

    body:before {
      content: "";
      position: fixed;
      inset: 0;
      background: linear-gradient(#296dff09 1px, transparent 1px), linear-gradient(90deg, #296dff09 1px, transparent 1px);
      background-size: 70px 70px;
      pointer-events: none;
      z-index: -1
    }

    header {
      height: 74px;
      padding: 0 5vw;
      display: flex;
      align-items: center;
      position: fixed;
      inset: 0 0 auto;
      z-index: 9;
      transition: .3s
    }

    header.scrolled {
      background: #060a11e8;
      backdrop-filter: blur(18px);
      border-bottom: 1px solid #172131
    }

    .logo {
      font-size: 25px;
      font-weight: 650;
      color: #fff;
      text-decoration: none;
      letter-spacing: -1.2px
    }

    .logo span {
      font-weight: 700;
      background: linear-gradient(100deg, #5f8cff, #9a64ff);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent
    }

    .logo span,
    h1 span,
    h1 em,
    h2 span {
      color: #7783ff
    }

    nav {
      display: flex;
      gap: 30px;
      margin: auto
    }

    nav a,
    footer a {
      color: #c7cfdd;
      text-decoration: none;
      font-size: 11px;
      letter-spacing: 1.4px;
      font-weight: 700
    }

    .btn {
      border: 1px solid #354156;
      border-radius: 999px;
      padding: 11px 19px;
      color: #fff;
      text-decoration: none;
      background: #0a111c80;
      display: inline-flex;
      gap: 14px;
      align-items: center;
      font-weight: 600
    }

    .primary {
      background: linear-gradient(100deg, #1674ff, #8c63ff);
      border: 0
    }

    .section {
      padding: 105px 5vw;
      max-width: 1500px;
      margin: auto
    }

    .hero {
      min-height: 780px;
      padding-top: 150px;
      display: grid;
      grid-template-columns: 1.1fr .9fr;
      gap: 70px;
      align-items: center
    }

    .eyebrow,
    .index {
      color: #8999ff;
      letter-spacing: 3px;
      font-size: 11px;
      font-weight: 800
    }

    .hero h1 {
      font-size: clamp(52px, 6vw, 88px);
      line-height: .98;
      letter-spacing: -4px;
      margin: 20px 0 26px
    }

    .hero h1 em {
      font-style: normal;
      color: #a06bff
    }

    .lead {
      font-size: 18px;
      color: #aeb8c8;
      max-width: 650px
    }

    .actions {
      display: flex;
      gap: 12px;
      margin: 32px 0
    }

    .mini {
      display: flex;
      flex-wrap: wrap;
      gap: 22px;
      color: #aeb7c6;
      font-size: 12px;
      margin-top: 38px
    }

    .mini span {
      display: flex;
      align-items: center;
      gap: 8px
    }

    .mini svg {
      width: 19px;
      height: 19px;
      fill: none;
      stroke: #8290ff;
      stroke-width: 1.7
    }

    .code-wrap {
      perspective: 1200px;
      perspective-origin: 50% 50%
    }

    .code {
      min-height: 430px;
      background: linear-gradient(145deg, #101927, #080d15);
      border: 1px solid #263a58;
      border-radius: 18px;
      box-shadow: -25px 28px 70px rgba(0, 0, 0, .48), 18px 8px 55px rgba(74, 69, 255, .16);
      overflow: hidden;
      transform-style: preserve-3d;
      transform: rotateY(-12deg) rotateX(3deg) rotateZ(.3deg);
      transition: transform .18s ease-out, box-shadow .3s ease;
      position: relative
    }

    .code:after {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      pointer-events: none;
      box-shadow: inset -2px 0 0 rgba(139, 91, 255, .5), inset 0 1px 0 rgba(102, 145, 255, .25)
    }

    .code:hover {
      box-shadow: -30px 34px 80px rgba(0, 0, 0, .52), 22px 10px 70px rgba(83, 75, 255, .23)
    }

    .bar {
      height: 44px;
      border-bottom: 1px solid #1d2b40;
      padding: 14px;
      color: #536078
    }

    .code pre {
      padding: 45px 34px;
      color: #aeb9ca;
      line-height: 2;
      font-size: 14px
    }

    .blue {
      color: #61b5ff
    }

    .purple {
      color: #a77cff
    }

    .index {
      margin-bottom: 14px
    }

    .section h2 {
      font-size: clamp(34px, 4vw, 54px);
      line-height: 1.08;
      letter-spacing: -2px;
      margin: 0
    }

    .about {
      border-top: 1px solid #121d2c
    }

    .aboutgrid {
      display: grid;
      grid-template-columns: 280px 1fr 280px;
      gap: 50px;
      align-items: center
    }

    .photo {
      height: 350px;
      border: 1px solid #1e2c40;
      border-radius: 16px;
      background: radial-gradient(circle at 50% 30%, #182844, #0b111b 60%);
      display: grid;
      place-items: center;
      color: #7887a0
    }

    .about p,
    .quote,
    .head p {
      color: #9ba7b8
    }

    .quote {
      border: 1px solid #1d2b40;
      border-radius: 14px;
      padding: 28px;
      background: #0a1019;
      font-size: 19px
    }

    .quote small {
      display: block;
      margin-top: 18px;
      color: #fff;
      font-style: italic
    }

    .head {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 30px;
      margin-bottom: 35px
    }

    .head p {
      max-width: 470px
    }


/* ===== SERVICIOS ===== */

#servicios .card {
    position: relative;
    overflow: hidden;

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

#servicios .card::before {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(
        circle at 15% 0%,
        rgba(91, 104, 255, .12),
        transparent 45%
    );

    opacity: 0;
    pointer-events: none;

    transition: opacity .3s ease;
}

#servicios .card:hover {
    transform: translateY(-6px);

    border-color: rgba(103, 119, 255, .45);
    background: #0d1523;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, .28),
        0 0 30px rgba(77, 93, 255, .07);
}

#servicios .card:hover::before {
    opacity: 1;
}

#servicios .card > b {
    position: relative;
    z-index: 1;

    color: #52617a;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;

    transition: color .3s ease;
}

#servicios .card:hover > b {
    color: #7886ff;
}

#servicios .service-icon {
    position: relative;
    z-index: 1;

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

#servicios .card:hover .service-icon {
    transform: translateY(-3px) scale(1.05);

    border-color: rgba(103, 119, 255, .55);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .25),
        0 0 22px rgba(91, 104, 255, .16);
}
#servicios .card h3,
#servicios .card p {
    position: relative;
    z-index: 1;
}

    .services {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px
    }

    .card,
    .project {
      border: 1px solid #1b293c;
      background: linear-gradient(145deg, #101927e0, #080d15e6);
      border-radius: 14px;
      padding: 24px;
      transition: .3s
    }

    .card:hover,
    .project:hover {
      transform: translateY(-6px);
      border-color: #40547a
    }

    .card b {
      color: #52627a
    }

    .card p,
    .project p {
      color: #8f9bac;
      font-size: 13px
    }

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

    .project {
      position: relative;
    display: block;
    overflow: hidden;

    padding: 10px 10px 24px;

    border: 1px solid #1d3047;
    border-radius: 16px;

    background: #0a111d;
    color: inherit;
    text-decoration: none;

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease,
        background .35s ease;
    }


    .project:hover {
    transform: translateY(-7px);

    border-color: rgba(105, 116, 255, .55);

    background: #0c1421;

    box-shadow:
        0 24px 50px rgba(0, 0, 0, .30),
        0 0 35px rgba(91, 104, 255, .08);
}
    .shot {
         position: relative;

    height: 330px;
    overflow: hidden;

    border-radius: 11px;

    background: #05080e;
    }

    .shot img {
      display: block;

    width: 100%;
    height: auto;

    transition:
        transform 9s cubic-bezier(.2, .7, .2, 1),
        filter .35s ease,
        opacity .35s ease;

    filter: brightness(.88);
    }

    .project:hover .shot img {
      transform: translateY(calc(-100% + 330px));
    filter: brightness(1);
    }

.overlay {
    position: absolute;
    top: 18px;
    right: 18px;

    padding: 9px 14px;

    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;

    background: rgba(6, 10, 17, .82);
    backdrop-filter: blur(10px);

    color: #fff;
    font-size: 13px;
    font-weight: 600;

    opacity: 0;
    transform: translateY(-8px);

    transition:
        opacity .3s ease,
        transform .3s ease;

    pointer-events: none;
}

.project:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}


.project h3 {
    margin: 20px 8px 10px;

    color: #f4f6fb;
    font-size: 20px;
}

.project > p {
    margin: 0 8px 16px;

    color: #8f9bad;
    font-size: 14px;
    line-height: 1.6;
}

   

    .chips {
    display: flex;
    gap: 7px;

    margin: 0 8px 18px;
}

.chips span {
    padding: 5px 9px;

    border: 1px solid rgba(110, 125, 255, .10);
    border-radius: 999px;

    background: rgba(110, 125, 255, .07);

    color: #8996aa;
    font-size: 11px;
}

    .project > strong {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin: 0 8px;

    color: #62a5ff;
    font-size: 14px;
    font-weight: 600;

    transition:
        color .25s ease,
        gap .25s ease;
}

.project:hover > strong {
    color: #8a8fff;
    gap: 10px;
}

.project-link-icon {
    width: 15px;
    height: 15px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: transform .25s ease;
}

.project:hover .project-link-icon {
    transform: translate(2px, -2px);
}

    .tech {
      display: flex;
      flex-wrap: wrap;
      gap: 13px
    }

    .tech span {
      min-width: 105px;
      border: 1px solid #1b293c;
      background: #0b121d;
      border-radius: 11px;
      padding: 13px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 7px
    }

    .tech i {
      width: 38px;
      height: 38px;
      border: 1px solid #263651;
      background: #111b2b;
      border-radius: 10px;
      display: grid;
      place-items: center;
      color: #8a98ff;
      font-style: normal;
      font-weight: 800
    }

    .tech b {
      font-size: 11px;
      color: #b8c2d1
    }

    .tech .shopify-icon svg {
    width: 27px;
    height: 27px;

    fill: none;
    stroke: #95bf47;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tech span:hover {
    transform: translateY(-4px);

    border-color: rgba(103, 119, 255, .45);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, .22),
        0 0 22px rgba(91, 104, 255, .07);
}

    
      .contact {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    align-items: start;
}
    

    .links {
    display: flex;
    flex-direction: column;
    gap: 12px;

    margin-top: 44px;
}

.links a {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    align-items: center;
    gap: 14px;

    padding: 13px 16px;

    border: 1px solid #1d3047;
    border-radius: 12px;

    background: rgba(12, 20, 33, .65);

    color: inherit;
    text-decoration: none;

    transition:
        transform .3s ease,
        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.links a:hover {
    transform: translateX(6px);

    border-color: rgba(103, 119, 255, .45);
    background: #0d1523;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

.contact-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(103, 119, 255, .28);
    border-radius: 10px;

    background: rgba(91, 104, 255, .08);
}

.contact-icon svg {
    width: 19px;
    height: 19px;

    fill: none;
    stroke: #7483ff;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-data {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-data small {
    color: #68768b;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.contact-data strong {
    color: #dce2ec;
    font-size: 14px;
    font-weight: 500;
}

.contact-arrow {
    color: #6473ff;
    font-size: 17px;

    transition: transform .25s ease;
}

.links a:hover .contact-arrow {
    transform: translate(2px, -2px);
}

    /* ===== FORMULARIO CONTACTO ===== */

.form {
    padding: 32px;

    border: 1px solid #1d3047;
    border-radius: 16px;

    background: linear-gradient(
        145deg,
        rgba(14, 23, 38, .92),
        rgba(8, 14, 24, .92)
    );

    /* Importante: que no se estire a la altura de la columna izquierda */
    align-self: start;
    height: auto;
    min-height: 0;
}

.form .kicker {
    margin-bottom: 22px;
}

.form .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;

    margin-bottom: 12px;
}

.form .field {
    position: relative;
    display: block;
}

.form .field input,
.form .field textarea {
    display: block;
    width: 100%;

    border: 1px solid #23364e;
    border-radius: 10px;

    background: rgba(8, 14, 24, .72);
    color: #f4f6fb;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.form .field input {
    height: 56px;
    padding: 20px 14px 8px;
}

.form .field textarea {
    min-height: 150px;
    padding: 25px 14px 14px;

    resize: vertical;
}

.form .field span {
    position: absolute;
    left: 14px;
    top: 18px;

    color: #78869a;
    font-size: 13px;

    pointer-events: none;

    transition:
        top .2s ease,
        font-size .2s ease,
        color .2s ease;
}

.form .field input:focus + span,
.form .field input:not(:placeholder-shown) + span,
.form .field textarea:focus + span,
.form .field textarea:not(:placeholder-shown) + span {
    top: 7px;
    font-size: 10px;
    color: #7785ff;
}

.form .field input:focus,
.form .field textarea:focus {
    border-color: #6473ff;

    background: rgba(10, 17, 29, .95);

    box-shadow:
        0 0 0 3px rgba(100, 115, 255, .08),
        0 0 25px rgba(91, 104, 255, .06);
}

.form .btn {
    width: 100%;
    margin-top: 18px;
}

    .kicker {
      font-size: 10px;
      letter-spacing: 2px;
      color: #8392ff;
      font-weight: 800;
      margin-bottom: 18px
    }

    .row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px
    }

    .field {
      position: relative;
      display: block
    }

    .field input,
.field textarea {
    width: 100%;

    border: 1px solid #23364e;
    border-radius: 10px;

    background: rgba(8, 14, 24, .7);

    color: #fff;
    outline: none;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.field input:focus,
.field textarea:focus {
    border-color: #6473ff;

    background: rgba(10, 17, 29, .9);

    box-shadow:
        0 0 0 3px rgba(100, 115, 255, .08),
        0 0 25px rgba(91, 104, 255, .06);
}

    .field>span {
      position: absolute;
      left: 14px;
      top: 14px;
      color: #758297;
      font-size: 13px;
      pointer-events: none;
      transition: .2s
    }

    .field input:focus+span,
    .field input:not(:placeholder-shown)+span,
    .field textarea:focus+span,
    .field textarea:not(:placeholder-shown)+span {
      top: 5px;
      font-size: 9px;
      color: #8392ff
    }

    .form button {
      width: 100%;
      justify-content: center
    }

    .form small {
      display: block;
      color: #657186;
      margin-top: 12px
    }

    footer {
      border-top: 1px solid #162132;
      padding: 38px 5vw;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 25px;
      color: #748096
    }

    footer nav {
      margin: 0
    }

.wa {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;

    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25d366;
    border-radius: 50%;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .28),
        0 0 0 0 rgba(37, 211, 102, .25);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.wa svg {
    width: 27px;
    height: 27px;
    fill: #fff;
}

.wa:hover {
    background: #20bd5a;
    transform: translateY(-4px) scale(1.05);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, .35),
        0 0 22px rgba(37, 211, 102, .22);
}

    .reveal {
      opacity: 0;
      transform: translateY(20px);
      transition: .65s
    }

    .reveal.on {
      opacity: 1;
      transform: none
    }

    @media(max-width:900px) {
      .hero {
        grid-template-columns: 1fr
      }

      .code {
        display: none
      }

      .aboutgrid {
        grid-template-columns: 1fr
      }

      .services,
      .projects {
        grid-template-columns: 1fr
      }

      .contact {
        grid-template-columns: 1fr
      }

      header nav {
        display: none
      }

      .shot {
        height: 230px
      }

      .project:hover .shot img {
        transform: none
      }

      .overlay {
        opacity: 1;
        transform: none
      }
    }

    @media(max-width:600px) {

      .mini {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 12px;
    width: 100%;
}

.mini > * {
    min-width: 0;
}
      .section {
        padding: 78px 20px
      }

      .hero {
        padding-top: 120px
      }

      .hero h1 {
        font-size: 49px
      }

      .head {
        flex-direction: column;
        align-items: start
      }

      .row {
        grid-template-columns: 1fr
      }

      footer {
        flex-direction: column;
        align-items: start
      }

      footer nav {
        display: flex;
        flex-wrap: wrap
      }
    }

    /* ===== V2.2: foto, iconos y navegación activa ===== */

    /* Navegación activa */
    header nav a {
      position: relative;
      transition: color .25s ease;
    }

    header nav a::after {
      content: "";
      position: absolute;
      left: 50%;
      right: 50%;
      bottom: -12px;
      height: 2px;
      border-radius: 999px;
      background: linear-gradient(90deg, #287cff, #8a67ff);
      box-shadow: 0 0 14px rgba(93, 113, 255, .65);
      transition: left .25s ease, right .25s ease, opacity .25s ease;
      opacity: 0;
    }

    header nav a.active {
      color: #7f8cff;
    }

    header nav a.active::after {
      left: 0;
      right: 0;
      opacity: 1;
    }

    /* Foto de Rafa: PNG transparente integrado en la composición */
    .photo {
      position: relative;
      height: 500px !important;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      overflow: visible;
      padding: 0;
      border: 0 !important;
      background: transparent !important;
      isolation: isolate;
    }

    .photo::before {
      content: "";
      position: absolute;
      z-index: -1;
      left: 50%;
      bottom: 20px;
      width: 390px;
      height: 390px;
      transform: translateX(-50%);
      border-radius: 50%;
      background: radial-gradient(circle,
          rgba(105, 91, 255, .24) 0%,
          rgba(55, 111, 255, .12) 38%,
          rgba(30, 71, 150, .045) 57%,
          transparent 73%);
      filter: blur(24px);
      pointer-events: none;
    }

    .photo::after {
      content: "";
      position: absolute;
      z-index: -1;
      left: 50%;
      bottom: 2px;
      width: 290px;
      height: 38px;
      transform: translateX(-50%);
      border-radius: 50%;
      background: rgba(0, 0, 0, .48);
      filter: blur(18px);
      pointer-events: none;
    }

    .photo img {
      position: relative;
      z-index: 2;
      width: auto;
      height: 520px;
      max-width: none;
      object-fit: contain;
      object-position: center bottom;
      border-radius: 0;
      -webkit-mask-image: none;
      mask-image: none;
      filter:
        drop-shadow(0 28px 28px rgba(0, 0, 0, .52)) drop-shadow(0 0 24px rgba(87, 102, 255, .15));
      transform: translateY(7px) scale(1.05);
      transition: transform .35s ease, filter .35s ease;
    }

    .photo:hover img {
      transform: translateY(-1px) scale(1.075);
      filter:
        drop-shadow(0 34px 34px rgba(0, 0, 0, .62)) drop-shadow(0 0 34px rgba(87, 102, 255, .22));
    }

    /* Servicios */
    .service-icon {
      width: 46px;
      height: 46px;
      display: grid;
      place-items: center;
      margin: 8px 0 20px;
      border: 1px solid #263a5a;
      border-radius: 12px;
      background: linear-gradient(145deg, rgba(27, 48, 78, .72), rgba(12, 20, 34, .72));
      box-shadow: inset 0 0 18px rgba(66, 93, 255, .06);
      transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    }

    .service-icon svg {
      width: 24px;
      height: 24px;
      fill: none;
      stroke: #7889ff;
      stroke-width: 1.7;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .card:hover .service-icon {
      transform: translateY(-3px) rotate(-2deg);
      border-color: #596cff;
      box-shadow: 0 0 25px rgba(74, 95, 255, .16);
    }

    /* Tecnologías: logos reales pequeños */
    .tech i {
      overflow: hidden;
    }

    .tech i img {
      width: 27px;
      height: 27px;
      display: block;
      object-fit: contain;
    }

    .tech span {
      transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    }

    .tech span:hover {
      transform: translateY(-4px);
      border-color: #40547a;
      box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
    }

    /* Proyectos */
    .project strong {
      display: inline-flex;
      align-items: center;
      gap: 7px;
    }

    .project-link-icon {
      width: 15px;
      height: 15px;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.8;
      stroke-linecap: round;
      stroke-linejoin: round;
      transition: transform .2s ease;
    }

    .project:hover .project-link-icon {
      transform: translate(2px, -2px);
    }

    @media (max-width:900px) {
      header nav a::after {
        bottom: -7px;
      }

      .photo {
        height: 430px !important;
        max-width: 350px;
      }
    }

/* ===== BLOQUE UNIFICADO ===== */

@media (max-width: 900px) {
    .photo {
      height: 440px !important;
      max-width: 100%;
    }

    .photo img {
      height: 455px;
      transform: translateY(5px) scale(1.02);
    }

    .photo:hover img {
      transform: translateY(0) scale(1.02);
    }

    .photo::before {
      width: 320px;
      height: 320px;
    }
  }

  @media (max-width: 520px) {
    .photo {
      height: 390px !important;
    }

    .photo img {
      height: 405px;
    }
  }


.about-focus {
    margin-top: 28px !important;
    padding-left: 18px;

    border-left: 2px solid #6875ff;

    color: #aab3c3;
    font-size: 15px;
    line-height: 1.7;
}

.about-focus strong {
    color: #f4f6fb;
    font-weight: 600;
}

 .about-grid {
        display: grid;
    grid-template-columns: 430px 580px;

    align-items: center;
    justify-content: center;

    gap: 35px;
}

.about-content blockquote {
    margin: 35px 0 0;
    padding: 4px 0 4px 22px;

    border-left: 2px solid #6875ff;

    color: #8f9bad;
    font-size: 17px;
    line-height: 1.7;
    font-style: italic;
}

.about-content blockquote small {
    display: block;
    margin-top: 10px;

    color: #fff;
    font-size: 14px;
}

#sobre .photo {
      position: relative;

    height: 500px !important;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: visible;
    background: transparent;
    border: none;
}
#sobre .photo img {
    width: auto;
    height: 570px;

    object-fit: contain;

    transform: none !important;

    filter:
        drop-shadow(0 28px 32px rgba(0, 0, 0, .55))
        drop-shadow(0 0 38px rgba(91, 104, 255, .22));

    transition:
        transform .35s ease,
        filter .35s ease;
}

#sobre .photo:hover img {
    transform: translateY(-6px) scale(1.02) !important;

    filter:
        drop-shadow(0 32px 38px rgba(0, 0, 0, .60))
        drop-shadow(0 0 40px rgba(91, 104, 255, .25));
}

.about-content {
    max-width: 580px;
}

.about-content h2 {
    margin: 0 0 18px;
}

.about-content h3 {
    margin: 0 0 26px;
}

.about-content h2 span {
    color: #6c72ff;
}


.about-content p {
    max-width: 580px;
    line-height: 1.75;
    margin: 0 0 16px;
}

.about-content blockquote {
    max-width: 520px;

    margin: 32px 0 0;
    padding: 6px 0 6px 20px;

    border-left: 2px solid #6674ff;

    color: #929cad;
    font-size: 16px;
    line-height: 1.65;
    font-style: italic;
}

.about-content blockquote small {
    display: block;

    margin-top: 8px;

    color: #fff;
    font-size: 13px;
}

#sobre {
    padding-top: 80px;
    padding-bottom: 80px;
}

#sobre .about-grid {
    grid-template-columns: 380px 600px;
    gap: 65px;
    justify-content: center;
    align-items: center;
}

#sobre .photo {
    height: 430px !important;
}

#sobre .photo img {
    height: 440px;
}

#sobre .about-content {
    max-width: 600px;
}

#sobre .about-content h2 {
    margin-bottom: 18px;
}

#sobre .about-content h3 {
    margin-bottom: 24px;
}

#sobre .about-content p {
    margin-bottom: 14px;
}

/* Quitamos la cita de momento */
#sobre blockquote {
    display: none;
}

.contact-phone-card {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    align-items: center;
    gap: 14px;

    padding: 13px 16px;

    border: 1px solid #1d3047;
    border-radius: 12px;

    background: rgba(12, 20, 33, .65);

    transition:
        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.contact-phone-card:hover {
    border-color: rgba(103, 119, 255, .45);
    background: #0d1523;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

.contact-actions {
    display: flex;
    gap: 8px;
}

.contact-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 12px;

    border: 1px solid rgba(103, 119, 255, .25);
    border-radius: 8px;

    background: rgba(103, 119, 255, .06);

    color: #9da7ff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;

    transition:
        background .25s ease,
        border-color .25s ease,
        color .25s ease,
        transform .25s ease;
}

.contact-actions a:hover {
    transform: translateY(-2px);

    color: #fff;
    border-color: rgba(103, 119, 255, .55);
    background: rgba(103, 119, 255, .14);
}



/* =========================
   AJUSTE ICONOS TECNOLOGÍAS
========================= */

/* Todos los logos con el mismo tamaño visual */
.tech i {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.tech i img,
.tech i svg {
    width: 27px;
    height: 27px;
    object-fit: contain;
}


/* PHP: un poco más grande porque el logo es horizontal */
.tech span:nth-child(4) i img {
    width: 32px;
    height: 32px;
}


/* WordPress: actualmente se pierde bastante */
.tech span:nth-child(6) i img {
    width: 29px;
    height: 29px;

    filter:
        brightness(0)
        saturate(100%)
        invert(56%)
        sepia(86%)
        saturate(1027%)
        hue-rotate(169deg)
        brightness(92%)
        contrast(94%);
}


/* Shopify */
.shopify-tech i svg {
    width: 28px;
    height: 28px;

    fill: none;
    stroke: #95bf47;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* MySQL: ligeramente más grande */
.tech span:nth-child(8) i img {
    width: 30px;
    height: 30px;
}

.tech > span {
    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease;
}

.tech > span:hover {
    transform: translateY(-4px);
    border-color: rgba(105, 119, 255, .45);
    background: rgba(16, 25, 39, .95);
}

.tech > span i {
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.tech > span:hover i {
    transform: scale(1.08);
    box-shadow: 0 0 22px rgba(92, 108, 255, .12);
}


/* ===== MENÚ MÓVIL ===== */

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    margin-left: auto;

    border: 1px solid #263651;
    border-radius: 11px;

    background: rgba(10, 17, 28, .85);
    cursor: pointer;

    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;

    position: relative;
    z-index: 20;
}

.menu-toggle span {
    width: 19px;
    height: 2px;
    border-radius: 10px;
    background: #dce3ef;

    transition:
        transform .3s ease,
        opacity .2s ease;
}

@media (max-width: 900px) {

     /* Botón Hablemos fuera en móvil */
    header > .btn {
        display: none;
    }

    /* Hamburguesa */
    header .menu-toggle {
        display: flex;
    }

    /* Menú desplegable */
    header nav {
        position: fixed;
        top: 70px;
        left: 16px;
        right: 16px;

        display: flex !important;
        flex-direction: column;
        align-items: stretch;

        margin: 0;
        padding: 8px;
        gap: 3px;

        background: rgba(8, 14, 24, .94);
        border: 1px solid #1d3047;
        border-radius: 14px;

        backdrop-filter: blur(18px);
        box-shadow: 0 18px 45px rgba(0, 0, 0, .38);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-10px);

        transition:
            opacity .25s ease,
            transform .25s ease,
            visibility .25s ease;

        z-index: 15;
    }

    /* Menú abierto */
    header nav.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    header nav a {
        display: block;
        width: 100%;

        padding: 11px 12px;

        border-radius: 9px;

        font-size: 11px;
        letter-spacing: 1.3px;
    }

    header nav a.active {
        color: #8994ff;
        background: rgba(103, 119, 255, .10);
    }

    header nav a::after {
        display: none;
    }

    /* Quitamos la línea inferior del menú de escritorio */
    header nav a::after {
        display: none;
    }

    /* Hamburguesa -> X */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* ===== SOBRE MÍ - MÓVIL ===== */

@media (max-width: 900px) {

  #sobre {
        padding-top: 65px;
        padding-bottom: 65px;
        overflow: hidden;
    }

    #sobre > .index {
        display: block;
        width: 100%;
        margin-bottom: 20px;
        position: relative;
        z-index: 2;
    }

    #sobre .about-grid {
        display: flex;
        flex-direction: column;
        gap: 18px;
        width: 100%;
        max-width: 100%;
    }

   #sobre .photo {
        width: 100%;
        max-width: 300px;
        height: 270px !important;
        margin: 0 auto;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    #sobre .photo img {
        width: auto;
        height: 290px;
        max-width: 100%;
        object-fit: contain;
    }

    #sobre .about-content {
        width: 100%;
        max-width: 100%;
    }

    #sobre .about-content h2 {
        font-size: 38px;
        line-height: 1.1;
        letter-spacing: -1.5px;
    }

    #sobre .about-content h3 {
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 20px;
    }


    #sobre .about-content p {
        width: 100%;
        max-width: 100%;
        font-size: 15px;
        line-height: 1.7;
    }

    #sobre .about-focus {
        margin-top: 24px !important;
        padding-left: 16px;
    }
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}