/* ─── TOKENS ─────────────────────────────────── */
    :root {
      --cream:   #FFFAE6;
      --fire:    #F63B05;
      --earth:   #524D37;
      --dark:    #1A1A1A;
      --black:   #000000;

      --ff-display: 'Bebas Neue', sans-serif;
      --ff-serif:   'DM Serif Display', serif;
      --ff-body:    'DM Sans', sans-serif;
    }

    /* ─── RESET ──────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    img  { display: block; max-width: 100%; }
    ul   { list-style: none; }
    a    { text-decoration: none; color: inherit; }

    /* ─── BODY ───────────────────────────────────── */
    body {
      background: var(--black);
      color: var(--cream);
      font-family: var(--ff-body);
      font-size: 16px;
      line-height: 1.7;
      overflow-x: hidden;
    }

    /* ─── SCROLLBAR ──────────────────────────────── */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: var(--black); }
    ::-webkit-scrollbar-thumb { background: var(--fire); border-radius: 3px; }

    /* ─── HEADER ─────────────────────────────────── */
    #header {
      position: fixed;
      top: 0; left: 0;
      width: 100%;
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 3rem;
      height: 64px;
      border-bottom: 1px solid rgba(255,250,230,.08);
      background: rgba(0,0,0,.82);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      transition: background .3s;
    }
    #header h1 a {
      font-family: var(--ff-display);
      font-size: 1.6rem;
      letter-spacing: .12em;
      color: var(--cream);
      transition: color .2s;
    }
    #header h1 a:hover { color: var(--fire); }

    /* menu toggle */
    #header nav a[href="#menu"] {
      display: flex;
      align-items: center;
      gap: .5rem;
      font-family: var(--ff-body);
      font-size: .75rem;
      font-weight: 500;
      letter-spacing: .15em;
      text-transform: uppercase;
      color: var(--cream);
      border: 1px solid rgba(255,250,230,.2);
      border-radius: 2px;
      padding: .45rem 1rem;
      transition: border-color .2s, color .2s;
    }
    #header nav a[href="#menu"]:hover {
      border-color: var(--fire);
      color: var(--fire);
    }

    /* ─── FULL-SCREEN MENU ───────────────────────── */
    #menu {
      position: fixed;
      inset: 0;
      z-index: 10000;
      background: var(--black);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity .4s, visibility .4s;
    }
    body.is-menu-visible #menu { opacity: 1; visibility: visible; }
    #menu a.close {
      position: absolute;
      top: 1.5rem; right: 2rem;
      font-family: var(--ff-body);
      font-size: .8rem;
      letter-spacing: .15em;
      text-transform: uppercase;
      color: rgba(255,250,230,.4);
      border: 1px solid rgba(255,250,230,.15);
      padding: .4rem 1rem;
      border-radius: 2px;
      transition: color .2s, border-color .2s;
    }
    #menu a.close:hover { color: var(--fire); border-color: var(--fire); }
    #menu .links { text-align: center; }
    #menu .links li { margin: .5rem 0; }
    #menu .links li a {
      font-family: var(--ff-display);
      font-size: clamp(2.5rem, 7vw, 5rem);
      letter-spacing: .06em;
      color: var(--cream);
      transition: color .2s, -webkit-text-stroke .2s;
      display: inline-block;
      line-height: 1.1;
    }
    #menu .links li a:hover {
      color: var(--fire);
      -webkit-text-stroke: 1px var(--fire);
    }

    /* ─── BANNER ─────────────────────────────────── */
    #banner {
      min-height: 100vh;
      display: flex;
      align-items: flex-end;
      padding: 0 3rem 6rem;
      position: relative;
      overflow: hidden;
      background-image: url('images/portada_17.jfif');
      background-size: cover;
      background-position: 65% center; /* ajustá este valor */
    }

    .banner-bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
      opacity: .35;
    }

    /* animated gradient mesh */
    #banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(246,59,5,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(82,77,55,.35) 0%, transparent 55%),
    rgba(0,0,0,.65); /* ← oscurece la foto, ajustá la opacidad */
  z-index: 1; /* ← subí el z-index para que tape la foto */
  animation: meshShift 8s ease-in-out infinite alternate;
}
    @keyframes meshShift {
      from { opacity: .9; }
      to   { opacity: 1; }
    }

    /* big decorative letter */
    #banner::after {
      content: 'YIV';
      position: absolute;
      right: -1rem;
      bottom: -3rem;
      font-family: var(--ff-display);
      font-size: clamp(14rem, 28vw, 28rem);
      line-height: 1;
      color: transparent;
      -webkit-text-stroke: 1px rgba(255,250,230,.04);
      pointer-events: none;
      z-index: 0;
      letter-spacing: .02em;
    }

    .banner-inner {
  position: relative;
  z-index: 2; /* era 1, ahora 2 */
  max-width: 900px;
}
    .banner-tag {
      display: inline-block;
      font-size: .72rem;
      font-weight: 500;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: var(--fire);
      border: 1px solid var(--fire);
      padding: .3rem .9rem;
      border-radius: 2px;
      margin-bottom: 1.8rem;
      animation: fadeUp .6s .2s both;
    }
    #banner h2 {
      font-family: var(--ff-display);
      font-size: clamp(3.5rem, 9vw, 8rem);
      line-height: .95;
      letter-spacing: .03em;
      color: var(--cream);
      margin-bottom: 1.5rem;
      animation: fadeUp .7s .4s both;
    }
    #banner h2 span { color: var(--fire); }
    #banner p {
      font-family: var(--ff-body);
      font-size: 1.05rem;
      font-weight: 300;
      color: rgba(255,250,230,.65);
      max-width: 540px;
      line-height: 1.8;
      animation: fadeUp .7s .6s both;
    }

    /* ─── SECTION COMMON ─────────────────────────── */
    .section-label {
      display: inline-flex;
      align-items: center;
      gap: .6rem;
      font-size: .7rem;
      font-weight: 500;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: var(--fire);
      margin-bottom: 1.2rem;
    }
    .section-label::before {
      content: '';
      width: 28px;
      height: 1px;
      background: var(--fire);
    }

    /* ─── TEAM SECTION ───────────────────────────── */
    #wrapper {
      background: var(--dark);
      padding: 8rem 3rem;
    }
    .team-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-bottom: 5rem;
      gap: 2rem;
      flex-wrap: wrap;
    }
    .team-header h2 {
      font-family: var(--ff-display);
      font-size: clamp(2.8rem, 6vw, 5.5rem);
      line-height: 1;
      letter-spacing: .04em;
      color: var(--cream);
    }
    .team-header p {
      max-width: 340px;
      font-size: .9rem;
      color: rgba(255,250,230,.5);
      line-height: 1.8;
    }

    .team-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
    }

    .team-card {
      position: relative;
      overflow: hidden;
      aspect-ratio: 3/4;
      background: var(--earth);
      /*cursor: pointer;*/
    }
    .team-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: grayscale(40%) contrast(1.05);
      transition: transform .6s cubic-bezier(.25,.46,.45,.94), filter .4s;
    }
    .team-card:hover img {
      transform: scale(1.06);
      filter: grayscale(0%) contrast(1.1);
    }
    .team-card .card-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,.9) 0%, transparent 55%);
      transition: background .4s;
    }
    .team-card:hover .card-overlay {
      background: linear-gradient(to top, rgba(246,59,5,.75) 0%, rgba(0,0,0,.3) 55%);
    }
    .team-card .card-body {
      position: absolute;
      bottom: 0; left: 0;
      padding: 2rem;
      transition: transform .4s;
    }
    .team-card:hover .card-body { transform: translateY(-6px); }
    .card-role {
      font-size: .65rem;
      font-weight: 500;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--fire);
      margin-bottom: .4rem;
      transition: color .3s;
    }
    .team-card:hover .card-role { color: var(--cream); }
    .card-name {
      font-family: var(--ff-serif);
      font-size: 1.55rem;
      line-height: 1.15;
      color: var(--cream);
      margin-bottom: .7rem;
    }
    .card-bio {
      font-size: .8rem;
      color: rgba(255,250,230,.7);
      line-height: 1.6;
      max-height: 0;
      overflow: hidden;
      transition: max-height .4s, opacity .4s;
      opacity: 0;
    }
    .team-card:hover .card-bio { max-height: 120px; opacity: 1; }

    /* ─── SERVICES SECTION ───────────────────────── */
    #four {
      background: var(--black);
      padding: 8rem 3rem;
    }
    .services-top {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: end;
      margin-bottom: 5rem;
    }
    .services-top h2 {
      font-family: var(--ff-display);
      font-size: clamp(2.8rem, 6vw, 5.5rem);
      letter-spacing: .04em;
      line-height: 1;
      color: var(--cream);
    }
    .services-top p {
      font-size: .9rem;
      color: rgba(255,250,230,.5);
      line-height: 1.8;
    }

    .services-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2px;
    }
    .svc-item {
      position: relative;
      overflow: hidden;
      background: var(--dark);
      padding: 3rem;
      transition: background .3s;
    }
    .svc-item:hover { background: var(--earth); }

    .svc-item::before {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 2px;
      height: 0;
      background: var(--fire);
      transition: height .4s;
    }
    .svc-item:hover::before { height: 100%; }

    .svc-num {
      font-family: var(--ff-display);
      font-size: 4.5rem;
      color: rgba(255,250,230,.05);
      line-height: 1;
      margin-bottom: 1.5rem;
      transition: color .3s;
    }
    .svc-item:hover .svc-num { color: rgba(246,59,5,.15); }

    .svc-img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      border-radius: 2px;
      margin-bottom: 1.8rem;
      filter: grayscale(30%);
      transition: filter .4s;
    }
    .svc-item:hover .svc-img { filter: grayscale(0%); }

    .svc-title {
      font-family: var(--ff-serif);
      font-size: 1.25rem;
      color: var(--cream);
      margin-bottom: .75rem;
    }
    .svc-desc {
      font-size: .85rem;
      color: rgba(255,250,230,.55);
      line-height: 1.7;
    }
    .svc-arrow {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      margin-top: 1.5rem;
      font-size: .72rem;
      font-weight: 500;
      letter-spacing: .15em;
      text-transform: uppercase;
      color: var(--fire);
      opacity: 0;
      transform: translateX(-8px);
      transition: opacity .3s, transform .3s;
    }
    .svc-item:hover .svc-arrow { opacity: 1; transform: translateX(0); }
    .svc-arrow svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

    /* strategic banner */
    .strategy-banner {
      background: var(--fire);
      padding: 4rem 3rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 2rem;
      flex-wrap: wrap;
      margin: 2px 0 0;
    }
    .strategy-banner h3 {
      font-family: var(--ff-display);
      font-size: clamp(1.8rem, 4vw, 3.2rem);
      letter-spacing: .04em;
      color: var(--cream);
      line-height: 1.05;
    }
    .strategy-banner p {
      max-width: 520px;
      font-size: .88rem;
      color: rgba(255,250,230,.8);
      line-height: 1.7;
    }

    /* ─── FOOTER ─────────────────────────────────── */
    #footer {
      background: var(--earth);
      padding: 6rem 3rem 3rem;
    }
    .footer-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      margin-bottom: 4rem;
    }
    #footer h2 {
      font-family: var(--ff-display);
      font-size: clamp(2rem, 4vw, 3.5rem);
      letter-spacing: .04em;
      color: var(--cream);
      margin-bottom: 1rem;
    }
    #footer p.lead {
      font-size: .9rem;
      color: rgba(255,250,230,.6);
      margin-bottom: 2rem;
      line-height: 1.8;
    }

    /* form */
    .contact-form .field { margin-bottom: 1.2rem; }
    .contact-form label {
      display: block;
      font-size: .68rem;
      font-weight: 500;
      letter-spacing: .15em;
      text-transform: uppercase;
      color: rgba(255,250,230,.5);
      margin-bottom: .4rem;
    }
    .contact-form input,
    .contact-form textarea {
      width: 100%;
      background: rgba(0,0,0,.25);
      border: 1px solid rgba(255,250,230,.12);
      border-radius: 2px;
      color: var(--cream);
      padding: .8rem 1rem;
      font-family: var(--ff-body);
      font-size: .88rem;
      outline: none;
      transition: border-color .2s;
    }
    .contact-form input:focus,
    .contact-form textarea:focus { border-color: var(--fire); }
    .contact-form textarea { resize: vertical; min-height: 110px; }
    .btn-send {
      display: inline-flex;
      align-items: center;
      gap: .7rem;
      background: var(--fire);
      color: var(--cream);
      border: none;
      cursor: pointer;
      font-family: var(--ff-display);
      font-size: 1rem;
      letter-spacing: .12em;
      padding: .9rem 2.2rem;
      border-radius: 2px;
      transition: background .2s, transform .2s;
      margin-top: .5rem;
    }
    .btn-send:hover { background: #d93304; transform: translateY(-2px); }

    /* contact info */
    .contact-info h3 {
      font-family: var(--ff-serif);
      font-size: 1.4rem;
      color: var(--cream);
      margin-bottom: 2rem;
    }
    .contact-info ul { }
    .contact-info li {
      display: flex;
      gap: 1rem;
      align-items: flex-start;
      padding: 1rem 0;
      border-top: 1px solid rgba(255,250,230,.1);
      font-size: .85rem;
      color: rgba(255,250,230,.65);
    }
    .ci-icon {
      width: 36px;
      height: 36px;
      flex-shrink: 0;
      border: 1px solid rgba(255,250,230,.15);
      border-radius: 2px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--fire);
    }
    .ci-icon svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

    .social-row {
      display: flex;
      gap: .6rem;
      margin-top: 2rem;
    }
    .social-row a {
      width: 38px;
      height: 38px;
      border: 1px solid rgba(255,250,230,.15);
      border-radius: 2px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(255,250,230,.5);
      font-size: .75rem;
      transition: border-color .2s, color .2s;
    }
    .social-row a:hover { border-color: var(--fire); color: var(--fire); }

    .footer-bottom {
      border-top: 1px solid rgba(255,250,230,.08);
      padding-top: 1.5rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: .75rem;
      color: rgba(255,250,230,.3);
      flex-wrap: wrap;
      gap: .5rem;
    }
    .footer-bottom span { color: var(--fire); }

    /* ─── ANIMATIONS ─────────────────────────────── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(22px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* ─── RESPONSIVE ─────────────────────────────── */
    @media (max-width: 900px) {
      #header { padding: 0 1.5rem; }
      #banner { padding: 0 1.5rem 5rem; }
      #wrapper, #four, #footer { padding: 5rem 1.5rem; }

      .team-grid { grid-template-columns: 1fr; gap: 2px; }
      .team-card { aspect-ratio: 16/9; }
      .team-card .card-bio { max-height: 80px; opacity: 1; }

      .services-top { grid-template-columns: 1fr; gap: 1.5rem; }
      .services-list { grid-template-columns: 1fr; }
      .strategy-banner { flex-direction: column; }

      .footer-inner { grid-template-columns: 1fr; gap: 3rem; }
      .team-header { flex-direction: column; align-items: flex-start; }
    }