
    :root{
      --border:#111;
      --muted:#666;
      --bg:#fff;
      --soft:#f3f3f3;
      --radius:12px;
      --maxw:420px;
    }

    *{ box-sizing:border-box; }
    body{
      margin:0;
      font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
      background:#fafafa;
      color:#111;
      display:flex;
      justify-content:center;
    }

    /* “marco móvil” para que se parezca al wireframe */
    .principal{
      width:min(100%, var(--maxw));
      background:var(--bg);
      min-height:100vh;
      border-left:1px solid #ddd;
      border-right:1px solid #ddd;
      background-color: #F4EBD0;
    }

    /* Top bar */
    header{
      position:sticky;
      top:0;
      background:var(--bg);
      z-index:10;
      border-bottom:1px solid #e5e5e5;
      background-color: #769A63;
    }

    .topbar{
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:12px 14px;
      gap:10px;
    }

    .brand{
      font-weight:700;
      letter-spacing:.2px;
      white-space:nowrap;
    }

    .nav{
      display:flex;
      gap:5px;
      align-items:center;
      font-size:14px;
    }

    .nav a, .nav button{
      border:0;
      background:transparent;
      padding:8px 10px;
      border-radius:10px;
      color:#111;
      text-decoration:none;
      cursor:pointer;
    }
    .nav a:hover, .nav button:hover{ background:var(--soft); }

    /* Dropdown simple */
    .dropdown{ position:relative; }
    .menu{
      position:absolute;
      right:0;
      top:42px;
      width:190px;
      background:var(--bg);
      border:1px solid #e5e5e5;
      border-radius:12px;
      box-shadow:0 12px 30px rgba(0,0,0,.08);
      padding:8px;
      display:none;
    }
    .menu a{
      display:block;
      padding:10px 10px;
      border-radius:10px;
      color:#111;
      text-decoration:none;
      font-size:14px;
    }
    .menu a:hover{ background:var(--soft); }
    .dropdown[data-open="true"] .menu{ display:block; }

    /* Sections */
    main{ padding:0 14px 18px; }

    .section{ margin:14px 0; }

    .hero{
      border:2px solid var(--border);
      border-radius:var(--radius);
      height:210px;
      display:flex;
      align-items:center;
      justify-content:center;
      position:relative;
      overflow:hidden;
      background:
        linear-gradient(135deg, transparent 49%, var(--border) 50%, transparent 51%),
        linear-gradient(45deg, transparent 49%, var(--border) 50%, transparent 51%);
      background-size:100% 100%;
    }

    #main_landing {
        background-image: url('../images/landing_main.png');
    }

    #imagen_casilla {
        background-image: url('../images/casilla.jpg');
    }

    .hero .label{
      position:absolute;
      font-weight:600;
      background:rgba(255,255,255,.9);
      padding:6px 10px;
      border-radius:999px;
      border:1px solid #ddd;
    }

    .linkish{
      color:#1a5bd6;
      text-decoration:underline;
      font-size:14px;
      margin:10px 0 0;
      display:inline-block;
    }

    .two-col{
      display:grid;
      grid-template-columns: 120px 1fr;
      gap:12px;
      align-items:center;
      padding:12px;
      border-top:1px solid #e7e7e7;
    }

    .bubbles{
      position:relative;
      height:110px;
      width:120px;
    }
    .bubble{
      position:absolute;
      border:2px solid var(--border);
      border-radius:999px;
      background:transparent;
    }
    .bubble.one{ width:68px; height:68px; left:0; top:0; }
    .bubble.two{ width:92px; height:92px; left:28px; top:18px; }

    .text-lines{
      color:#111;
      font-size:13px;
      line-height:1.4;
    }
    .text-lines .muted{ color:var(--muted); }

    .btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      padding:10px 14px;
      border:2px solid var(--border);
      border-radius:10px;
      background:#fff;
      font-weight:600;
      cursor:pointer;
      text-decoration:none;
      color:#111;
      min-height:42px;
    }
    .btn:active{ transform:translateY(1px); }

    .btn.small{ padding:8px 12px; min-height:38px; font-size:14px; }
    .btn.primary{
      background:#111;
      color:#fff;
      border-color:#111;
    }

    /* Carrusel wireframe */
    .carousel{
      display:grid;
      grid-template-columns: 64px 1fr 64px;
      gap:10px;
      align-items:center;
    }
    .arrow{
      height:76px;
      border:2px solid var(--border);
      border-radius:12px;
      background:#fff;
      display:flex;
      align-items:center;
      justify-content:center;
      font-size:28px;
      cursor:pointer;
      user-select:none;
    }
    .card{
      height:76px;
      border:2px solid var(--border);
      border-radius:12px;
      display:flex;
      align-items:center;
      justify-content:center;
      font-weight:700;
      background:#fff;
    }
    .caption{
      text-align:center;
      font-size:13px;
      color:#111;
      margin-top:10px;
    }

    /* Video fake */
    .video{
      border:2px solid var(--border);
      border-radius:var(--radius);
      height:120px;
      background:#fff;
      display:flex;
      flex-direction:column;
      justify-content:flex-end;
      padding:10px;
      gap:8px;
    }
    .controls{
      display:flex;
      align-items:center;
      gap:10px;
    }
    .play{
      width:34px; height:34px;
      border:2px solid var(--border);
      border-radius:999px;
      display:flex;
      align-items:center;
      justify-content:center;
      font-size:16px;
    }
    .bar{
      flex:1;
      height:10px;
      border:2px solid var(--border);
      border-radius:999px;
      background:linear-gradient(to right, #111 30%, transparent 30%);
    }
    .icons{ display:flex; gap:8px; }
    .icon{
      width:18px; height:18px;
      border:2px solid var(--border);
      border-radius:4px;
    }

    /* “Casilla” layout (imagen + texto + botón) */
    .feature{
      border-top:1px solid #e7e7e7;
      padding-top:14px;
    }
    .feature-grid{
      display:grid;
      grid-template-columns: 1.2fr 1fr;
      gap:12px;
      align-items:center;
    }
    .feature .hero{ height:190px; }
    .feature-text{
      font-size:13px;
      line-height:1.45;
    }

    /* Mapa placeholder */
    .map{
      height:140px;
      border-radius:var(--radius);
      background:
        linear-gradient(0deg, rgba(255,255,255,.75), rgba(255,255,255,.75)),
        repeating-linear-gradient(90deg, #d7d7d7 0 14px, #f2f2f2 14px 34px),
        repeating-linear-gradient(0deg, #d7d7d7 0 14px, #f2f2f2 14px 34px);
      border:1px solid #e1e1e1;
      position:relative;
      overflow:hidden;
    }
    .map::after{
      content:"";
      position:absolute;
      left:60%;
      top:-10%;
      width:6px;
      height:150%;
      background:#e6d83a;
      transform:rotate(18deg);
      opacity:.8;
    }

    footer{
      border-top:1px solid #e7e7e7;
      padding:14px;
      font-size:13px;
    }
    footer .foot-links{
      display:flex;
      gap:16px;
      flex-wrap:wrap;
      justify-content:space-between;
    }
    footer a{
      color:#111;
      text-decoration:none;
    }
    footer a:hover{ text-decoration:underline; }

    /* Util */
    .hr{ height:1px; background:#e7e7e7; margin:14px 0; }
    .stack{ display:flex; flex-direction:column; gap:10px; }
